Support » Plugin: Business Directory Plugin » how can i change single entry permlink for external url adresss i gave?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    Hi konradszt,

    I’m not sure I understand the question. Are you talking about how to redirect old links to new ones after you alter the permalinks? That’s something you’d have to do through an .htaccess file or something similar.

    If you meant something else, please explain and/or show links and screenshots.

    my mistake. I will try one more time.

    When i display single entry form my directory there is <h1> with class “wpbdp_listing-title entry-title”
    i would like to have in this h1 external hyperlink to url i set in url field during submitting new listing.

    I hope you understand.

    why do you set problem as resolved when it isn’t?

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    Hi konradszt,

    I set things to “resolved” because most of the time, users don’t do it themselves and if they never reply, I won’t know if I answered it or not. Don’t worry–I always respond when I see that you have. I check the forum daily.

    You can’t set an arbitrary hyperlink for the listing titles with the settings of the standard plugin. If you wanted to do that, you’d have to hack the core of the plugin to add that behavior, which I suspect would not be easy.

    where it the variable corresponding to the url to the added entry placed?

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    I’m not sure I follow…are you asking where to change this in the core?

    yes i do

    i havent seen any of url’s added websited in database.

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    To get the exact spot, I will need to ask my developer.

    so what your developer said in this case?

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    I will ping him again, he didn’t respond.

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    My developer responded:


    I presume he’s talking about the <h1> in the listing’s single view or else I’m not really sure. He could look at (or override) the template businessdirectory-listing.tpl.php. There’s a section there where we print the listing’s title inside the <h1>. He could surround that with a link to where he wants.
    If, in particular, he needs the value of a listing field to create this URL he could use the function wpbdp_get_listing_field_value passing it the listing and field ID. This will change in the next release but they will certainly be similar functions in order to achieve the same.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘how can i change single entry permlink for external url adresss i gave?’ is closed to new replies.