Landing Page Layout Bugs?
This topic contains 9 replies, has 3 voices, and was last updated by Paolo 10 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
September 23, 2015 at 5:45 pm #54232
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/?previewHowever, 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
September 23, 2015 at 6:08 pm #54240Hi 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
September 23, 2015 at 6:12 pm #54241This reply has been marked as private.September 23, 2015 at 6:22 pm #54242This reply has been marked as private.September 23, 2015 at 6:35 pm #54247Hi 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
September 23, 2015 at 8:15 pm #54267Yes, 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; ?>September 24, 2015 at 12:57 am #54304Hi,
we need to tweak theme compatibility and we’d still need FTP to help you out.
let us know,
Thanks
September 24, 2015 at 9:42 am #54339Hi Kirsten,
Please provide FTP info in a private reply and i’ll have a look today 🙂
Thanks,
Stiofan
September 24, 2015 at 4:21 pm #54384This reply has been marked as private.September 24, 2015 at 6:56 pm #54419Hi,
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,
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket