F2P Filter: Move ‘Link Back to Source’ to the End of the Post
At the moment, the Link Back to Source option from the Feed to Post general settings adds a link back to the original source at the beginning of each post.
Using this code snippet you can move this link to the end of each post.
add_filter( 'wprss_ftp_add_source_link_method', 'my_move_source_link' ); function my_move_source_link($loc) { return 'after'; }
How do I add this to my site?
Follow the step-by-step instructions below to add this filter to your WordPress site.
- Copy the code you need from above.
- Go to your WordPress site's dashboard.
- Go to Plugins > Add New.
- Search for Code Snippets, then install and activate the plugin.
- Once installed and activated, go to Snippets in your dashboard menu.
- Click on Add New.
- Add a Title, which could be the title of this article.
- Paste the code you copied in step 1 to the Code section.
- Add a Description or Tags if you wish to do so. It is not required.
- Click on Save Changes and Activate to save the filter and activate it.
- Or click on Save Changes to save the filter and activate it later.
- Your action or filter is now stored and active on your site.