• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

lmartins

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • November 25, 2014 at 3:08 am in reply to: Recommended approach to customize markup #132724
    lmartins
    Member

    Hi Susan, thanks for the feedback.
    Yes, i've managed to solve my problem.

    Cheers.

    October 29, 2014 at 9:48 am in reply to: Creating a custom hook programatically #129750
    lmartins
    Member

    @genwrock, can I just way you are awesome? 🙂
    Thank you som much, that does the trick.

    Many, many thanks!
    Cheers!

    October 20, 2014 at 1:27 pm in reply to: Cant force the front-page layout #128469
    lmartins
    Member

    Thanks for your help Brad.
    I've tried both approaches (front-page.php in my case) but still no luck. No matter what I do something seems to be overwriting the layout filter.

    I've tried to remove my all code called from my functions.php but that did no effect also.

    If anyone have any ideas or a similar experience I would be grateful if you could share.

    Thanks.

    October 5, 2014 at 8:56 am in reply to: Tips for Restricted Access plugins? #126823
    lmartins
    Member

    Thanks Davinder, have got many recommendations for that plugin on twitter as well.

    I ended up using https://wordpress.org/plugins/wordpress-access-control/screenshots/
    Is simple yet provides some very useful features. I haven't really tested the one you suggested, mainly because the lack of updates left me wondering if is still maintained.

    October 3, 2014 at 5:13 am in reply to: Best approach to modify genesis_custom_header_style function #126657
    lmartins
    Member

    Hi,

    That seems to do the trick yes, thank you @SavvyJackie
    Still have to investigate how can I change Genesis functions as mentioned but in this case this solves the issue.

    Thanks again.

    September 29, 2014 at 9:29 am in reply to: How to check what layout is being loaded? #126164
    lmartins
    Member

    Ohh, brilliant. Is working now.
    Im such a new with PHP but I must say im quite liking working with it and Genesis.
    Thanks @nickhempsey !!

    September 29, 2014 at 9:10 am in reply to: How to check what layout is being loaded? #126157
    lmartins
    Member

    The method @nickhempsey suggests does work but in my case, once I run the genesis_site_layout() function in my functions.php the post gets the default layout instead of the custom assigned layout.

    I was trying to run a piece of code depending on the layout currently used:

    
    $site_layout = genesis_site_layout();
    
    if ( $site_layout == 'sidebar-content-sidebar' ) {
      add_action( 'genesis_before_entry', 'mw_add_attachments' );
    } else {
      add_action( 'genesis_entry_footer', 'mw_add_attachments' );
    }
    
    function mw_add_attachments(){
      $attachments = new Attachments( 'attachments' ); /* pass the instance name */
      if ($attachments->exist()) {
        ?>
          <ul class="files">
            <?php while( $attachments->get() ) : ?>
              <li>
                <div class="files-thumbnail">
                  <?php echo $attachments->image( 'thumbnail' ); ?>
                </div>
                <div class="files-details">
                  <a href="<?php echo $attachments->url(); ?>" target="_blank" class="files-title">
                    <?php echo $attachments->field( 'title' ); ?>
                  </a>
                  <div class="files-meta"><?php echo $attachments->subtype(); ?> - <?php echo $attachments->filesize(); ?></div>
                  <div class="files-caption">
                    <?php echo $attachments->field( 'caption' ); ?>
                  </div>
                </div>
              </li>
    
            <?php endwhile; ?>
          </ul>
        <?php
      }
    }
    
    
    September 29, 2014 at 12:22 am in reply to: How do you structure your contents in WP? #126112
    lmartins
    Member

    Not really. I've created a custom Taxonomy named "Featured" and assigned it to Posts and Pages. Because i've created with the "hierarchical" flag turned on, it shows an interface similar to categories media box, where the user can pick from existent options.

    September 26, 2014 at 12:21 pm in reply to: How do you structure your contents in WP? #125845
    lmartins
    Member

    I went with taxonomies to have the "hierarchical" option so that the user can see them available positions as a checkbox list, instead of having to guess the tag names. Might have to investigate this a bit further.

    September 26, 2014 at 3:14 am in reply to: How do you structure your contents in WP? #125792
    lmartins
    Member

    Thanks for your thoughtful response @Mealtog.
    That was the kind of validation I was looking for and it seems im not in a horribly wrong track here.

    Btw, I managed to have widgets outputting multiple pages and/or posts. I created a taxonomy dedicated to the featured positions assigned to both content types, and then the user can pick a position right in the post/page editor screen.

    Cheers.

    September 25, 2014 at 1:51 am in reply to: How do you structure your contents in WP? #125639
    lmartins
    Member

    Hi @mealtog

    I first got the sense Pages would become an issue since most widgets would only allow me do show one Page. Im referring to widgets for outputting content in the homepage.

    Im trying of find a way to make it easy for the clients to manage their sites, publishing content and easily selecting content to be featured in the homepage or specialty areas. For the latter im thinking of using widget or custom loops, im inclined to widgets so that they still can move things around if necessary.

    After my first post I kinda got inclined to the "prescribed" recommendation of only using posts for date sensitive information, such as news sections or blog posts.

    Still, any expertise you might share would be welcome.

    Cheers.

    September 22, 2014 at 3:20 pm in reply to: Show subpages more like a grid #125367
    lmartins
    Member

    Hi Sridhar, my use case was to have a page act as intro for a "section" displaying all subpages. I've managed to get it working using a couple tutorials in the meantime. Your site's search feature had some issues during the day but it is now fully functional, so i'll have a look into your tutorials 😉

    September 22, 2014 at 12:42 pm in reply to: Feature Multiple Pages #125346
    lmartins
    Member

    Hi Brad,

    Thanks for the tip. That would be a possibility although I would something more "automated" for the client. I will try to use a custom_loop and some metadata associated with those pages instead.

    September 22, 2014 at 7:17 am in reply to: Show subpages more like a grid #125302
    lmartins
    Member

    Would also love to know the solution for this.

    September 19, 2014 at 4:33 am in reply to: Banner/Featured Content #125036
    lmartins
    Member

    In case anyone arrived to this topic looking for something similar, i've solved the using custom post types and the following plugins:

    Genesis Custom Headers

    Flexible Posts Widget

    September 18, 2014 at 9:54 am in reply to: Banner/Featured Content #124912
    lmartins
    Member

    Thanks Brad.
    The site im building is the exact same example i've mentioned, currently is running a custom made cms.

    I'll explore the tips you've mention to see if I can get around this.

    Cheers

    September 18, 2014 at 7:56 am in reply to: Banner/Featured Content #124896
    lmartins
    Member

    I don't have the site online using WordPress, but this is what im replicating with WordPress:
    http://053.webipack.com/pt

    The banner sliding in the homepage is composed by an image / title / url. In other templates sometimes I also add to that a small description.

    The following pages ideally could have page/post/category banner images. Probably i'll have to use two mechanisms for this one for the homepage and other for the inner pages.

    Thanks again for all the help.

    September 17, 2014 at 7:49 am in reply to: Starting with Genesis as a foundation for new themes #124755
    lmartins
    Member

    Sometimes I need to customize the markup of the header and/or include static components in there. Probably I can use hooks for the latter but I am not finding any info on how to do that.

    Please excuse the questions avalanche...

    September 17, 2014 at 7:17 am in reply to: Starting with Genesis as a foundation for new themes #124751
    lmartins
    Member

    Cool, thanks. Although im still looking into ways for customising the markup in some areas while keeping Genesis functionality, for example in the header.

    September 17, 2014 at 5:37 am in reply to: Starting with Genesis as a foundation for new themes #124744
    lmartins
    Member

    Thanks for the tips Brad.
    I will choose a theme to buy and study it's code, maybe that can speed things up a bit.

    The other resources i've already seen but will have a second look into it.

    Thanks again.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 20 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble