WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] how can i change single entry permlink for external url adresss i gave? (13 posts)

  1. konradszt
    Member
    Posted 1 year ago #

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. konradszt
    Member
    Posted 1 year ago #

    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.

  4. konradszt
    Member
    Posted 1 year ago #

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

  5. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  6. konradszt
    Member
    Posted 1 year ago #

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

  7. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

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

  8. konradszt
    Member
    Posted 1 year ago #

    yes i do

  9. konradszt
    Member
    Posted 1 year ago #

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

  10. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

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

  11. konradszt
    Member
    Posted 1 year ago #

    so what your developer said in this case?

  12. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

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

  13. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags