WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. joao.ismael
    Member
    Posted 1 year ago #

    Hi,

    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.

    Thanks!
    João

    http://wordpress.org/extend/plugins/page-links-to/

  2. Andrew Tegenkamp
    Member
    Posted 1 year 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

About this Topic