remove header text in page link results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support remove header text in page link results

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17122
    Jason Roberts
    pelyon
    Participant

    Hi,
    We have the company address in the Header of each page. However, with every page link shown in the search results, the address is the text that shows under each page link. Is there a way to deselect the address, or remove the address from each page link result? Thank you!

    #17134
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I think it might be possible, but it will definitely require a decent amount of custom code to get rid off that header shortcode.

    Can you please check the FTP details? I am not able to log-in with them via my FTP client. Thank you!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #17138
    Jason Roberts
    pelyon
    Participant
    You cannot access this content.
    #17156
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thanks for that.

    I have managed to come up with something. I have placed the following custom code to the functions.php file in your theme directory. The Address section should not be visible anymore.

    The code for future reference:

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #17160
    Jason Roberts
    pelyon
    Participant

    Wow, works great. Many thanks. I really appreciate the extra effort!

    #17161
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.