• Resolved susien

    (@susien)


    I have a question about this page. The Blogroll listing is creating using the Categorical Links Page plugin. So, I’ve got this on the page: <!–catlinkspage–> .

    Because of this, I can no longer add any other content to the page which seems odd to me. It seems like with other plugins, I can (contact form, for example).

    Do you know why this is happening? And do you know what I can do to get around it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Do you know why this is happening?

    Yes, the plugin replaces the content of the page with its own generated content.

    And do you know what I can do to get around it?

    You can modify the plugin.

    Change this code:
    if ( strpos($content, '<!--catlinkspage-->') !== false ) $content = catlinks_page_callback();

    To this:
    if ( strpos($content, '<!--catlinkspage-->') !== false ) $content = str_replace('<!--catlinkspage-->', catlinks_page_callback(), $content);

    This will change it to just make it replace the catlinkspage tag with the list of links, instead of replacing the entire page.

    Thread Starter susien

    (@susien)

    Perfect! Thank you so much!!

    (I really need to learn PHP)

    Sorry to dredge this up, but even after replacing the code, it still overrides my whole page. Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding content to Blogroll Page’ is closed to new replies.