Skip to:
Content
Pages
Categories
Search
Top
Bottom

Flat Portal theme

  • @mossyoak

    Participant

    Hi there

    I just thought I’d let you know about a project I’ve completed for a WordPress theme designed to be used as a private portal / client area with option to set pages to public or private view using page templates: Flat Portal.

    Originally I made it a child theme of the default BuddyPress theme but I have now made a child theme of Twenty Thirteen with all the features described in the above link.
    Basically: This theme is a child theme for Twenty Thirteen.
    It is designed to be used with BuddyPress plugin to set up a simple private portal or client area with the option to have public view pages as well.
    This theme includes Twitter Bootstrap 2.3.2 css and jquery and glyphs.
    It uses Conditional queries for the privacy options and is designed to be basic and simple so that you can build upon it and make it your own.

    It is based on my WordPress theme Flat Portfolio which got accepted into the Theme depository last week.

    You can find it on my website in my shop. If anyone registers before they buy it free updates can be provided and some basic support given. Also the registration serves as a demo of what a subscriber level client would experience.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @shanebp

    Moderator

    Nice demo.
    I like Flat Portfolio.

    >It uses Conditional queries for the privacy options
    So not the usual slug checking ?

    The idea of a theme specifically for a portal with access options is interesting.
    I’ll bet it’s tough to get noticed in the huge number of themes available, but good luck.

    @mossyoak

    Participant

    Thanks @shanebp 🙂

    It basically works in this way- I have a header file with multiple headers for different page templates or conditions such as is_singular() or is_page.. e.g

    if (is_front_page() || is_404() || is_page_template('public-subpages.php') || is_page_template('public.php') || is_page_template('public-full.php') || is_page_template('gallery-public.php') || is_singular('download') || bp_is_activation_page() || bp_is_register_page()) :
    get_header('public');
    elseif (bp_is_profile_component() || bp_is_settings_component() ):
    get_header('restrict-profile');
    else :
    get_header('private');

    The pages are all set to private by default and depend on setting them to different page templates if you want them public or a different style.
    The private pages have a header-private that re-directs non-logged in users to the log in page (which is created on theme activation and set to the log in page template)

    So the public page templates have a header-public without any redirect for non-logged in users.

    There are also page templates that go with a header-restrict for restricting pages to editor / admin only with the conditional redirect

    elseif (bp_is_current_component( 'members' ) || is_page_template('archives.php') || is_page_template('full-restrict.php') || is_search() || is_tag() || is_date() ) :
    get_header('restrict');

    The different header files have re-directs at the top except for the public one: e.g header-restrict has:
    if(!current_user_can('delete_others_pages')) { wp_redirect( home_url() ); exit; }
    at the top.

    It’s been my pet project for a few years but to be honest you are right I’ve not had much luck promoting it and there are lots of plugins that do similar things and lots of themes, but it’s been interesting non the less 🙂 I use it for my own little project support area and it’s basic but it works.

    Thanks for checking it out.

    @mossyoak

    Participant

    I made a video for the theme here: you tube flat portal WordPress theme.
    http://youtu.be/yGfkvnv1N-Y
    The theme is now available as a digital download in my shop for $25.
    Flat Portal WordPress Theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Flat Portal theme’ is closed to new replies.
Skip to toolbar