Title: Code for custom entry templates?
Last modified: July 27, 2020

---

# Code for custom entry templates?

 *  [MacDara Conroy](https://wordpress.org/support/users/macdaraconroy/)
 * (@macdaraconroy)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/code-for-custom-entry-templates/)
 * Due to legacy formatting I required for my blog’s previous life in Movable Type,
   I use custom templates for every post format except standard – that’s the only
   one in which I use the_content(), so syndication links won’t display for any 
   other post. Is there manual code I can add to my other templates to compensate
   for this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [David Shanske](https://wordpress.org/support/users/dshanske/)
 * (@dshanske)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/code-for-custom-entry-templates/#post-13177678)
 * Of course….the content solution was designed to just work. I myself use custom
   code in my theme as preferable.
 * The answer is actually in the FAQ in the readme…
 *  How do I prevent the links from being automatically added to the content?
 *  You will have to remove the content filter remove_filter( ‘the_content’, array(‘
   Syn_Config’, ‘the_content’ ) , 30 ) and then you can call get_syndication_links()
   directly in your theme. You should add
    this to the init hook.
 *  get_syndication_links( $object, $args ) – Returns the HTML for $object. $object
   can be a post_ID, a WP_Post object, or a WP_Comment object.
    ** $args ***style-
   Defaults to ul ***text- Display text, defaults to settings option ***icons- Display
   icons, defaults to settings option ***container-css- Class to wrap entire syndication
   links in ***single-css- Class to wrap a single link in ***text-css` – Class to
   wrap the text before the links in
 *  Thread Starter [MacDara Conroy](https://wordpress.org/support/users/macdaraconroy/)
 * (@macdaraconroy)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/code-for-custom-entry-templates/#post-13180860)
 * Where do I remove that content filter? In my functions.php or in the plugin file
   itself?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Code for custom entry templates?’ is closed to new replies.

 * ![](https://ps.w.org/syndication-links/assets/icon.svg?rev=3167284)
 * [Syndication Links](https://wordpress.org/plugins/syndication-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/syndication-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/syndication-links/)
 * [Active Topics](https://wordpress.org/support/plugin/syndication-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syndication-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syndication-links/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [MacDara Conroy](https://wordpress.org/support/users/macdaraconroy/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/code-for-custom-entry-templates/#post-13180860)
 * Status: not resolved