This WordPress plugin adds a convenient feature to your site by enabling users to easily copy direct links to specific headings. Enhance the navigability of your content by allowing readers to share direct references to relevant sections with just a click.
- Automatically displays a copy link icon beside headings when hovered over.
- Fully customizable settings to choose the heading levels (H1, H2, etc.) where the links should appear.
- Supports selecting custom post types for the feature.
- Designed to seamlessly integrate into your theme without disrupting the existing design.
- Lightweight and optimized for performance.
- Download the plugin zip file from WordPress.org.
- Go to your WordPress admin dashboard.
- Navigate to Plugins > Add New and click on Upload Plugin.
- Upload the downloaded zip file and click Install Now.
- Once installed, click Activate to enable the plugin.
- After activating the plugin, navigate to the Settings > Copy Link to Heading page in your WordPress dashboard.
- Configure your desired settings, including selecting the heading levels and custom post types to apply the feature.
- Save your settings, and the plugin will start working immediately on the selected pages or posts.
We welcome contributions! Feel free to fork this repository, make your changes, and create a pull request. For bug reports and feature requests, please visit the issues section.
- Settings are not always retained after saving on the settings page. Custom post types may appear unselected upon revisiting the settings.
- On the frontend, the copy link icon may not display for certain custom post types like posts and pages.
These issues are tracked on GitHub. You can report bugs or track progress via the issues section.
To make modifications or build from source:
- Clone the repository:
git clone https://github.com/josevarghese/copy-link-to-heading.git
- Make your changes to the codebase.
- Test your changes locally.
- Commit and push your updates.
- Submit a pull request.
For any support, feature requests, or queries, please use the WordPress support forum or raise an issue in the GitHub repository.
This plugin is open-source and licensed under the GNU General Public License v2.0.