Forums

[Plugin: Breadcrumb NavXT] How to insert php code in the suffix (9 posts)

  1. Ivan Volkov
    Member
    Posted 6 months ago #

    I want insert some function in the Breadcrumb NavXT suffix. Simple < php ? My_Function() ? > dont work and output php code as text "< php ? My_Function() ? >"
    http://wordpress.org/extend/plugins/breadcrumb-navxt/

  2. mtekk
    Member
    Posted 6 months ago #

    PHP is not allowed as values of settings set through the settings page. This is for security reasons, and will not be changing. What are you trying to do that you want to call a PHP function within the suffix of a breadcrumb?

  3. Ivan Volkov
    Member
    Posted 6 months ago #

    I changed padination <!--nextpage--> like this http://wordpress.stackexchange.com/questions/11578/custom-page-links-for-paginated-posts-wp-link-pages-nextpage-quicktag

    Content intro
    <!--nextpage--><!--pagetitle: Title 1 -->
    Next page content 1
    <!--nextpage--><!--pagetitle: Title 2 -->
    Next page content 2
    <!--nextpage--><!--pagetitle: Title 3 is longer -->
    Next page content 3
    <!--nextpage--><!--pagetitle: Another Title -->
    Next page content 4

    Then added "pagetitle:" tag as title suffix - look here http://school.kharkov.ua/det/sad198/3/
    Page title is changed, but breadcrumb is showing first pagination title.
    I want add the same suffix as page title to breadcrumb.

  4. mtekk
    Member
    Posted 6 months ago #

    Thanks for the clarification on what you are tying to do. The good news is there is a way to do what you want. I can probably give you some example code this weekend.

  5. Ivan Volkov
    Member
    Posted 5 months ago #

    I look forward to...

  6. Ivan Volkov
    Member
    Posted 5 months ago #

    And what about is some example code at this weekend?

  7. mtekk
    Member
    Posted 5 months ago #

    Yep, finally got to it today. Have it sitting in the SVN repository under branches/extensions/. See http://plugins.trac.wordpress.org/browser/breadcrumb-navxt/branches/extensions/breadcrumb_navxt_cust_paged_title.php

    Note that this depends on some features in Breadcrumb NavXT 4.0, I suggest you try the beta in conjunction with this extension plugin.

    -John Havlik

  8. mtekk
    Member
    Posted 5 months ago #

  9. Ivan Volkov
    Member
    Posted 5 months ago #

    Thank you very much

Reply

You must log in to post.

About this Topic