Forum Replies Created
-
AuthorPosts
-
lmartinsMember
Hi Susan, thanks for the feedback.
Yes, i've managed to solve my problem.Cheers.
lmartinsMember@genwrock, can I just way you are awesome? 🙂
Thank you som much, that does the trick.Many, many thanks!
Cheers!lmartinsMemberThanks 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.
lmartinsMemberThanks 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 #126657lmartinsMemberHi,
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.
lmartinsMemberOhh, brilliant. Is working now.
Im such a new with PHP but I must say im quite liking working with it and Genesis.
Thanks @nickhempsey !!lmartinsMemberThe 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 } }
lmartinsMemberNot 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.
lmartinsMemberI 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.
lmartinsMemberThanks 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.
lmartinsMemberHi @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.
lmartinsMemberHi 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 😉
lmartinsMemberHi 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.
lmartinsMemberWould also love to know the solution for this.
lmartinsMemberIn case anyone arrived to this topic looking for something similar, i've solved the using custom post types and the following plugins:
https://wordpress.org/plugins/genesis-custom-headers/
https://wordpress.org/plugins/flexible-posts-widget/lmartinsMemberThanks 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
lmartinsMemberI don't have the site online using WordPress, but this is what im replicating with WordPress:
http://053.webipack.com/ptThe 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 #124755lmartinsMemberSometimes 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 #124751lmartinsMemberCool, 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 #124744lmartinsMemberThanks 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.
-
AuthorPosts