Themeing with WPGeoDirectory?

This topic contains 16 replies, has 8 voices, and was last updated by  Joe Tracy 9 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #838

    John Allsopp
    Expired Member
    Post count: 399

    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.

    #839

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi 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

    #840

    John Allsopp
    Expired Member
    Post count: 399

    Hi 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?

    #841

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Why not just disable the sidbar from desing settings and then call it direct yourself?

    dynamic_sidebar('geodir_home_right')

    Stiofan

    #975

    John Allsopp
    Expired Member
    Post count: 399

    The 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…

    #976

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi John,

    I am looking into this.

    Thanks,

    Stiofan

    #981

    amolin
    Buyer
    Post count: 161

    It would be very interesting and useful a genesis child theme geodirectory-ready.

    I´ts the most popular wordpress framework.

    #982

    John Allsopp
    Expired Member
    Post count: 399

    My 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…

    #1051

    increxendo
    Expired Member
    Post count: 3

    Hi, my idea was to work with genesis also. it will cause many problems to development?

    outputs everything in a block sounds inflexible

    #1055

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    as 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

    #1064

    justmark
    Full Member
    Post count: 375

    Excellent! 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!

    #1127

    John Allsopp
    Expired Member
    Post count: 399

    It’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…

    #1136

    directory
    Expired Member
    Post count: 1502

    Hi Stiofan,

    Does it mean you will be selling themes running on the new framework? Do you have an ETA for the first few themes?

    #1142

    Paul
    Expired Member
    Post count: 171

    @john Allsopp I agree, maybe we should pioneer the first Genesis Theme 🙂

    #1147

    increxendo
    Expired Member
    Post count: 3

    a good manual would be necessary, I wish it was just copy-paste code in child genesis but do not think.

Viewing 15 posts - 1 through 15 (of 17 total)

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

Open Support Ticket