Forum Replies Created
-
AuthorPosts
-
KevinMember
I did create a new widget and modified the css. I just can't get the new widget to line up beside the current widget. It shows up but below the featured news and not beside it. Not sure how to hook it in (that may be the problem)
October 7, 2013 at 9:21 pm in reply to: customizing executive-pro for a client – would love feedback #65787KevinMembermoderator please move to feedback forum-sorry
KevinMemberI haven't tried this yet but what I want is the actual content (not above sidebar) of the page to be displayed through the custom fields. So the process would be click on a post link->takes you to the custom template that displays just the custom fields. I am using the ACF plugin. Would be as simple as moving the code I posted above from the functions.php page to the custom template page?
KevinMemberI have done something wrong. The classes/ Ids that I assigned to show the custom filed in my functions.php are showing on every page. I created these:
`// this adds the key values for each subject
add_action('genesis_post_content', 'ela');
function ela() {
if ( is_single() && genesis_get_custom_field('ela') )
echo '<h2>English Language Arts</h2>';
echo '<div id="homework-content">'. genesis_get_custom_field('ela') .'</div>';
}
add_action('genesis_post_content', 'math');
function math() {
if ( is_single() && genesis_get_custom_field('math') )
echo '<h2>Math</h2>';
echo '<div id="homework-content">'. genesis_get_custom_field('math') .'</div>';
}
add_action('genesis_post_content', 'science');
function science() {
if ( is_single() && genesis_get_custom_field('science') )
echo '<h2>Science</h2>';
echo '<div id="homework-content">'. genesis_get_custom_field('science') .'</div>';
}
add_action('genesis_post_content', 'social_studies');
function social_studies() {
if ( is_single() && genesis_get_custom_field('social_studies') )
echo '<h2>Social Studies</h2>';
echo '<div id="homework-content">'. genesis_get_custom_field('social_studies') .'</div>';
}'
to echo the custom fields to show the assignments. Is there a way to show them on a custom template?KevinMemberThe single-c2assigments.php page is correct in its layout
KevinMemberhere's a screenshot of what I think is the archive-c2assignments.php page (should read 'page only' not 'oage only'
KevinMemberI created an archive template called archive-c1assigments.php and when I go to change the layout to full width - it does not change. Is this the best way to have the most flexibility of customizing the layout?
KevinMemberI tried that but it's not HTML5. I'm using the education child theme
KevinMemberThanks Brad,
This is a school's website where I work. Each cluster (group of teachers) will post daily assignments. What I'm looking to do is this:
1. I created a CPT that will allow a cluster to post homework for each subject (math, science, history, etc) in a text area using a wysiwyg editor
2. I want to create a page template for each cluster that shows the CPT (e.g. c1homework.php, c2homework.php). The page will show the homework for each day as a post.
3. So, homework for Monday, Sept, 16, 2013 will post, then the next day, they'll post new assignments and the previous day's assignments will be archived. So the c1homework.php page teamplate would show:
EnglishText for assignments
Math
Text for assignments
... and so on
Does that make sense? It's the only logical way I could think to accomplish this rather than have them write a typical blog post. Open to any ideas/ suggestions.
KevinMemberI can now see the post titles but the custom fields are not showing
KevinMemberI followed this tut http://www.carriedils.com/genesis-2-0-archive-settings-custom-post-types/ but when I click on view - I get a 404 error
KevinMemberThanks Andrea. I'm still on that learning curve - that was driving me nuts!
KevinMemberI will add that I'm using Genesis Simple Headers plugin
KevinMemberThanks Marcy
-
AuthorPosts