• Hi there, you have made an awesome plugins!!!

    In settings of plugin, under ‘General’ tab there is a text-box named ‘Breadcrumb Separator’ where we need to add what we need as separator. Now I want to use that value of separator in my code so can you please let me know how to retrieve value of that ‘Breadcrumb Separator’ in a php variable…

    https://ww.wp.xz.cn/plugins/breadcrumb-navxt/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Havlik

    (@mtekk)

    What are you trying to do with the breadcrumb separator outside of Breadcrumb NavXT? I ask as it is possible to reach that setting, in several ways infact. However, no API exists for it, so you would have to keep up with any updates that may change the internal settings structure of the plugin.

    Thread Starter Meet Shah

    (@meet1347)

    According to my site, they have 2 interface in a single site so in terms of design it will behave as 2 sites. So according to design, in a site they have ‘/’ as separator and in another they do have ‘//’ as separator.

    So i have set ‘/’ as separator and now for another site I want to replace ‘/’ with ‘//’ using php. I have done this using static code of separator but if I change the separator in the settings of plugin, I will need to change the pattern in the variable statically so to avoid that I need to retrieve pattern dynamically.

    Plugin Author John Havlik

    (@mtekk)

    If you’re going to have it behave as 2 different sites on one WordPress install, is there a reason you are not using a network/multisite setup? WordPress in network (multisite) mode will allow you to use a theme specific for each site along with site specific plugin settings (depending on how the plugins support network installs, Breadcrumb NavXT is network site aware and it’s handling of networks can be adjusted using a define statement in your wp-config.php)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Retrieve "Breadcrumb Separator" value dynamically’ is closed to new replies.