Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1368445

    Hello,

    I have a separate page to be displayed as a footer. However, it is sometimes displayed (link1) and sometimes not (link2) on the search results page. Please have a look.

    Thank you,
    Marina

    #1368521

    Hey Marina,

    Thank you for the inquiry.

    Does it work when you add more entries with the “website” keyword? It is possible that the last entry (Enfold’s About) in the search result is causing the issue. Please try to create another entry or check the last entry for any layout or html issues.

    Best regards,
    Ismael

    #1368540

    what is your choice on that enfold options:
    page to replace footer and keep socket
    or
    page to replace both footer and socket

    and what do you mean by: it is displayed?
    Is it displayed ( as on other pages ) as footer substitute – or do you mean it is listed in the search results itself ?

    #1368636

    Hello Ismael,

    I moved the Enfold’s About page to drafts, but it did not help. Now if you search for, for example, SITE, the last entry is Portfolio and there is no footer: link1. However, if you search for SYSPROG, the last entry is also Portfolio, but the footer is displayed: link2.

    Best regards,
    Marina

    #1368639

    Hello Guenni,

    I have the option page to replace both footer and socket selected, and I mean the display of the footer at the bottom of the page (as on other pages), not within the search results.

    Best regards,
    Marina

    #1369324

    Hi,

    Sorry for the delay. For some reason, this condition in the footer.php file returns false, so the footer is not rendered in the search page.

    		/*
    		 * Check if we should display a page content as footer
    		 */
    		if(! $blank && in_array( $footer_option, array( 'page_in_footer_socket', 'page_in_footer' ) ) )
    		{
    

    To fix the issue, we edited the code and replaced it with:

    		/*
    		 * Check if we should display a page content as footer
    		 */
    		if( is_search() || ! $blank && in_array( $footer_option, array( 'page_in_footer_socket', 'page_in_footer' ) ) )
    		{
    

    Best regards,
    Ismael

    #1369425

    Hello,

    Thank you for your help. You can close the ticket.

    Best regards,
    Marina

    #1369563

    Hi,

    Thanks for the update, I’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Custom footer is not always displayed on the search results page’ is closed to new replies.