Themeing with WPGeoDirectory?
This topic contains 16 replies, has 8 voices, and was last updated by Joe Tracy 10 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: genesis, geodirectory themes, themes
-
AuthorPosts
-
April 26, 2014 at 2:06 pm #838
Are there any guides anywhere – hooks/filters list, templating best practice etc?
For instance, the plugin puts the sidebar within the main content wrap – how do i unhook it and put it into the actual sidebar area of my theme?
Also on a Genesis theme the fullwidth layout doesn’t pull in the primary sidebar, yet with your plugin acivated, the primary sidebar gets added – how would i stop this from happening?
Thanks.April 26, 2014 at 2:10 pm #839Hi John,
I am working on this right now, i am building a framework theme and then i will start on the docs.
To answer your immediate question, for example if you want to edit the homepage template then copy the file: geodirectory-templateshome_page.php from the plugin to your theme and call it: geodir-home.php
Thanks,
Stiofan
April 26, 2014 at 2:20 pm #840Hi Stiofan,
Thanks for the quick reply. I would prefer not to make my own templates as it can be a headache to keep them updated as the plugin codebase changes. I would much rather use hooks and filters, so i’ll probably wait until you have sorted the documentation for this.
Is there a hook for the WPGeo sidebar, so i can do a remove_action and then place it into my primary sidebar area?
April 26, 2014 at 2:23 pm #841Why not just disable the sidbar from desing settings and then call it direct yourself?
dynamic_sidebar('geodir_home_right')
Stiofan
April 29, 2014 at 11:10 am #975The problem is that i would still need to modify several templates to do the things i would like when creating themes. Is it possible that in the future there will be more separation of function from the output markup?
For instance H1 titles are hard-coded in the templates, so i can’t add HTML5 markup without changing several templates – the same goes for taking out the sidebars and putting them inside an “aside” etc
Not moaning as i think you’ve done a great job with the plugin and i’ve been looking forward to it for months – it’s just that as a Genesis user i miss being able to move things around with actions…
April 29, 2014 at 11:12 am #976Hi John,
I am looking into this.
Thanks,
Stiofan
April 29, 2014 at 11:27 am #981It would be very interesting and useful a genesis child theme geodirectory-ready.
I´ts the most popular wordpress framework.
April 29, 2014 at 11:37 am #982My thoughts exactly Amolin – and i’d love to be able to create themes to support WPGeo, but at the moment although it works with Genesis, it’s not “compatible” – it just outputs everything in a block.
I’d love to see a structure where i can do things like:remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); add_action( 'genesis_entry_header', 'do_wpgeo_title' );
etc etc
and the plugin doesn’t play nicely with the structure of genesis when it comes to creating templates.
The WPGeo templates have get_header(); and get_footer(); which we don’t want as our genesis(); at the end of a template takes care of all that stuff.
I’d like to see all the building blocks of wpgeo being wrapped up in separate functions, so i can create a template and just output what i want, where i want, like this:add_action( 'genesis_entry_header', 'wpgeo_do_detail_title' ); add_action( 'genesis_entry_content', 'wpgeo_do_detail_content' ); add_action( 'genesis_before_sidebar_widget_area', 'wpgeo_do_detail_sidebar' );
Of course that may be something that can happen as the plugin evolves…
April 30, 2014 at 3:49 pm #1051Hi, my idea was to work with genesis also. it will cause many problems to development?
outputs everything in a block sounds inflexible
April 30, 2014 at 4:02 pm #1055as of now it would require you to create some page templates and pop them in your theme folder, i had a look at it but there are a lot of impracticalities doing it any other way.
We are making our own theme framework which should be ready to beta test tomorrow 🙂
Stiofan
April 30, 2014 at 5:24 pm #1064Excellent! I am testing the plugin as we speak on a non-genesis framework since the directory is only part of the site but I have been holding off on another directory-based project for a heck of a long time and was about to dive in next month with some preliminary work using Genesis as my base. With news of this new Framework I look forward to seeing what it is all about. Include support for schema.org and responsive design (including images) as responsive is the future!
May 1, 2014 at 8:06 pm #1127It’s a real shame as this will be a deal-breaker for Genesis users unless they are willing to build and maintain their own set of templates.
All pages generated by the plugin “bypass” Genesis, so even the primary navigation menu cannot be used – really hoping you have a change of heart…
May 2, 2014 at 5:45 am #1136Hi Stiofan,
Does it mean you will be selling themes running on the new framework? Do you have an ETA for the first few themes?
May 2, 2014 at 12:35 pm #1142@john Allsopp I agree, maybe we should pioneer the first Genesis Theme 🙂
May 2, 2014 at 1:39 pm #1147a good manual would be necessary, I wish it was just copy-paste code in child genesis but do not think.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket