December 31, 2013 at 4:35 pm #82394
I'm building a site on Genesis w/ the Epik child theme, and need a custom page template to support this plugin:
Basically, it creates individual pages for team members and then provides shortcodes for displaying a grid or table of said team members, which can be created based on categories and used anywhere. I'm mentioning this because it solves a problem and I want to use the plugin instead of creating pages for each individual team member.
The issue is that the instructions say to duplicate page.php and rename the copy to single-tshowcase.php. I've created a single-tshowcase.php in the child theme folder, and it works, but I can't figure out how to remove the post info, specifically the date/author.
The page template doesn't get selected for use by the plugin's pages; it just gets called based on the filename. Here's what's in the new page template file. What am I missing?
<?php remove_action( 'genesis_before_post_content', 'genesis_post_info' ); genesis();
ScottDecember 31, 2013 at 5:47 pm #82404AnitaKeymaster
Epik is a product of Appfinite.com. Wes, the developers, provides support for his themes here. You might want to post this there since his files are prepared a little differently.
Love coffee, chocolate and my Bella!January 1, 2014 at 12:36 am #82439
Thanks – I'll do that, though the process of creating new/custom page templates is a framework thing, right?January 2, 2014 at 10:37 am #82688
Potentially relevant conversation w/ the plugin developer:January 2, 2014 at 2:07 pm #82739
You may find it a challenge to customize a plugin like that with Genesis.
Here's something i coded recently for Genesis http://wpsites.net/web-design/team-members-staff-authors-or-user-profile-page-template-for-genesis/
January 2, 2014 at 4:04 pm #82765
Thanks Brad. All I need to do is remove the post info from the page template, nothing more. I'm not modifying the plugin at all.
Your template looks really good, though it's not quite what I'm looking for.
ScottJanuary 2, 2014 at 4:29 pm #82774
//* Remove the post info function remove_action( 'genesis_entry_header', 'genesis_post_info', 5 );
January 2, 2014 at 7:04 pm #82799
I wish I could say that worked, but it didn't. Thanks though!January 3, 2014 at 5:36 am #82864January 3, 2014 at 10:18 am #82926
Thanks Brad. I'm using Epik.
Turns out it works by adding the snippet in functions.php, not the custom page template.
This affects the blog too, which isn't ideal, but at least it fixes the problem for now.January 3, 2014 at 11:48 am #82953
Update: editing the page template file works now. I'm not sure what happened, but relaunching the FTP client (Yummy FTP, mac) and the text editor (TextWrangler, which loads/edits/saves through Yummy FTP) seemed to fix the problem. I was editing function.php through the dashboard and thecustom page template through FTP.
#frustratingJanuary 3, 2014 at 2:48 pm #82983
You can do it conditionally http://wpsites.net/web-design/modify-post-info-genesis/
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.