WordPress.org

Ready to get started?Download WordPress

Forums

404 filters (1 post)

  1. Mads Phikamphon
    Member
    Posted 1 year ago #

    Hi,

    I have some code that includes the following line:
    add_filter('the_content', 'disp_ssharebar',1);

    Is it possible to write a second line to make sure the disp_ssharebar() function is called on 404 pages?

    I have tried using add_filter('404_template', 'disp_ssharebar', 1), but that didn't work.

    Thanks,
    Mads

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Mads Phikamphon
  • This topic is not resolved
  • WordPress version: 3.4.2