Preview Page Trouble

This topic contains 10 replies, has 3 voices, and was last updated by  Kiran 6 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #428888

    Joy
    Buyer
    Post count: 1076

    Hello, the preview page on the directory I’m working on is currently not working correctly. The header text is appearing but none of the listing content shows.

    Will post credentials in next post.

    #428889

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #428951

    Alex Rollin
    Moderator
    Post count: 27815

    Please also write back with FTP, as this may be a sessions issue. Where is the site hosted?

    #428976

    Joy
    Buyer
    Post count: 1076
    This reply has been marked as private.
    #429180

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    FTP credentials no longer working. Can you double check please?

    It seems one of plugin conflicts and breaks the preview page. Even the footer also not rendered on preview page.

    Try to disable non GD plugins and check it it solves or still there.
    I will check again once FTP credentials will work for me.

    Thanks,
    Kiran

    #429451

    Joy
    Buyer
    Post count: 1076

    I think we’ve figured it out. I also posted on the other thread about this. But Stiofan helped me with a snippet and it’s causing some sort of conflict.

    https://wpgeodirectory.com/support/topic/duplicate-sidebar-link/#post-429450

    #429466

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    I just checked files via plugin editor but can find the snippet. Let me know in which file you have put that snippet.

    Thanks,
    Kiran

    #429572

    Joy
    Buyer
    Post count: 1076

    It’s in the code snippet plugin. It’s deactivated because of the conflict. Please enable to see it.

    #429596

    Alex Rollin
    Moderator
    Post count: 27815

    Please post the code here and we will take a look.

    Thanks

    #429609

    Joy
    Buyer
    Post count: 1076

    its the code that is in the links that is provided earlier by stiofan.

    
    
    function _my_website_link_output(){
      global $post;
              $cf = (array)geodir_get_field_infoby('htmlvar_name', 'geodir_website', $post->post_type);
      if(!empty($cf)){
        echo geodir_cf_url('','detail',$cf );
      }
    }

    Thank you.

    #429659

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    I have modified the snippet and now preview page is working fine.

    Please check and let us know.

    Thanks,
    Kiran

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount