Show 'More results..'

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16203
    ArchangeDavid
    ArchangeDavid
    Participant

    Sorry, me again.

    I enable “Show’ More results…'” in the options but it doesn’t appear on the site.

    Thx

    David

    #16205
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi David,

    It looks like there is something altering the HTML output of the links within the results container, causing an invalid HTML output, and that is causing the problem.
    – Front-end, invalid HTML: https://i.imgur.com/t2ZZzae.png
    – Back-end, correct output: https://i.imgur.com/doqMOZH.png

    On the invalid HTML link, there is an attribute ‘data-wpel-link’ which is not coming from the search. After googling around, I have found that this attribute may be related to the ‘WP External links’ plugin: https://wordpress.org/plugins/wp-external-links/
    I’m guessing it is trying to change something on the links on each page, but it fails with placeholder links (links without href attributes). I have tried to log-in via FTP, but it does not seem to work, to see if there is anything I can do about it.

    Best,
    Ernest Marcinko

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


    #16207
    ArchangeDavid
    ArchangeDavid
    Participant
    You cannot access this content.
    #16208
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you, that works now.

    I have added an extra class to the link, to be excluded ‘asp_showmore’ via FTP. I have also added this class to the WP External links plugin options: https://i.imgur.com/cpEZseS.png

    Now it should ignore that link, and should be displayed correctly. I will make sure to include this change in the upcming release.

    Best,
    Ernest Marcinko

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


    #16209
    ArchangeDavid
    ArchangeDavid
    Participant

    You are simply great!
    THANK YOU so much!

    #16210
    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)

The topic ‘Show 'More results..'’ is closed to new replies.