Page Links To
Page Links To, add specific class to each page (2 posts)

  1. joao.ismael
    Posted 3 years ago #


    Is there any way to specify that one page was modified by "page-links-to"? I just want to do different stuff for pages modified by "page-links-to" i.e.: open pages with ajax for example.
    Maybe append a class .. hmm.



  2. Andrew Tegenkamp
    Posted 3 years ago #

    I would look in the plugin file page-links-to.php and check out the if (highlight) statement around line 262. That adds formatting for outputting the page through wp_list_pages and can be added to or likely applied to other functions.

    It seems to somewhat depend on what function you're using to output it (a custom menu, wp_list_pages, etc) as to what modifications need to be made and where to best make them.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page Links To
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic