• Resolved davinian

    (@davinian)


    Hi great plugin, but have a couple of questions I hope someone can help/advise.

    1) I have copied the ACADP Template “class-acadp-public-listing.php” to my theme and made some changes, but would like to also change the “Website Link” so it says “Visit Website” instead of showing the full url.

    I thought it would be in the single template, but see it is part of “functions-acadp-html.php” in the includes folder.

    I am guessing I cannot move that files to my theme folder? If not, is there a simple way to overide the website link?

    2) I would also like to let Listing owners have an option to show/hide the contact form — is there a way to easily add this option?

    Kind regards,
    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pluginsware

    (@pluginsware)

    Hi David,

    1) I have copied the ACADP Template “class-acadp-public-listing.php” to my theme and made some changes, but would like to also change the “Website Link” so it says “Visit Website” instead of showing the full url.

    I thought it would be in the single template, but see it is part of “functions-acadp-html.php” in the includes folder.

    I am guessing I cannot move that files to my theme folder? If not, is there a simple way to overide the website link?

    – Sorry, It is not possible to override the website.

    2) I would also like to let Listing owners have an option to show/hide the contact form — is there a way to easily add this option?

    – Sorry, currently this option is not available. We will take note of it and add it in the future.

    Thanks

    Thread Starter davinian

    (@davinian)

    @pluginsware thanks for the info.

    It’s a bit a dirty way around the problem, but I’ve replaced the following in “class-acadp-public-listing.php”

    <!-- Address -->
    <?php the_acadp_address( $post_meta, $location->term_id ); ?>

    With this for now.
    https://pastebin.com/Tr7xmD3J

    I think I might have also found a simple workaround for the contact form, will share if it works.

    Regards,
    David

    • This reply was modified 7 years, 4 months ago by davinian.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Modify Contact Details on Single Listing’ is closed to new replies.