Support » Themes and Templates » Alternate template for single posts (permalinks)

  • ptambwe

    (@ptambwe)


    Hello,

    I would like to prevent adsense ads from appearing on some posts (permalinks) that contain mature content and replace them with other ads. The problem is that my ad code is located in the single.php, sidebar.php and header.php templates. Is there a way to customize some permalinks to display an “alternate” single.php page?

    It would be awesome if in the next update of WordPress, we’d be able to select an alternate template when writing a post, just like the pages.

Viewing 1 replies (of 1 total)
  • Bassetts

    (@bassetts)

    A quick search on google for “wordpress post template” revealed a plugin called (believe it or not) Post Templates and this seems to be exactly what you are after.

Viewing 1 replies (of 1 total)
  • The topic ‘Alternate template for single posts (permalinks)’ is closed to new replies.