Landing Page Layout Bugs?

This topic contains 9 replies, has 3 voices, and was last updated by  Paolo 9 years, 3 months ago.

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

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #54232

    Kirsten Larsen
    Buyer
    Post count: 14

    Hi there,
    I’ve just installed the plugin on my staging server and installed all the test locations. I haven’t done anything else.

    However, the style is really all over the place and the map is not loading. I am just using Sage as my theme.

    I love this page’s layout:
    http://wptry.it/try-geodirectory/?preview

    However, you’ll notice mine looks crazy:
    http://hrc-staging.tk/small-groups/

    Is there a way to load it into a template of my own, or try to redesign this page? I can’t use it right out of the box.

    I also noticed that it’s not using my default page template, so which template is it using?

    Thank you

    #54240

    Paolo
    Site Admin
    Post count: 31206

    Hi Kirsten,

    we will need to tweak GeoDirectory >> Theme Compatibility a bit to make sure GeoDirectory adapts to your theme template.

    The theme is using its unique layout and GD can’t adapt to it automatically.

    We are talking about few minutes of work, If you provide admin credentials in a private reply (only staff can read them) we will fix this for you.

    Thanks

    #54241

    Kirsten Larsen
    Buyer
    Post count: 14
    This reply has been marked as private.
    #54242

    Kirsten Larsen
    Buyer
    Post count: 14
    This reply has been marked as private.
    #54247

    Paolo
    Site Admin
    Post count: 31206

    Hi Kirsten,

    that theme as a very strange page layout. Absolutely wrong for HTML5 standards.

    It has a page inside another page.

    To try to fix it (we can’t assure we will be able 100%), we would need your FTP credentials too.

    This will take a bit more than 15 minutes for sure.

    Let us know,

    Thanks

    #54267

    Kirsten Larsen
    Buyer
    Post count: 14

    Yes, that is what I was referring to. It is giving a very strange page layout. Is there any way you can describe how I can create a new template for the locations? Or describe what I should be doing so that it uses our theme template? It seems to be grabbing something else and thus throwing the content everywhere…

    The default page.php layout is just a basic template using Bootstrap styling:

    
    
    <?php
    
    the_post();
    $is_block = RootsSageUtilsis_block();
    
    if ($is_block) {
      remove_filter('the_content', 'wpautop');
    }
    
    if (!$is_block):
    ?>
    <div class='block-wrapper'>
    <section>
    <?php endif; ?>
    
    <?php the_content(); ?>
    <?php wp_link_pages(['before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
    
    <?php if (!$is_block): ?>
    </section>
    </div>
    <?php endif; ?>
    
    #54304

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    we need to tweak theme compatibility and we’d still need FTP to help you out.

    let us know,

    Thanks

    #54339

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Kirsten,

    Please provide FTP info in a private reply and i’ll have a look today 🙂

    Thanks,

    Stiofan

    #54384

    Kirsten Larsen
    Buyer
    Post count: 14
    This reply has been marked as private.
    #54419

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    this documentation is a bit old, but it explains with a quick example how GeoDirectory templating works: https://wpgeodirectory.com/docs/how-to-build-your-own-theme-compatibility-plugin/

    Basically, each template is made with a set of actions. Each action can be removed and used somewhere else. This way you can totally rebuild the original templates all from within your theme’s functions.php or through a plugin.

    If you send us a copy of the theme we could try and check it out in one of our test website.

    Let us know,

    Thanks,

Viewing 10 posts - 1 through 10 (of 10 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