Forum Replies Created
-
AuthorPosts
-
Kevin
MemberI 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 #65787Kevin
Membermoderator please move to feedback forum-sorry
Kevin
MemberI 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?
Kevin
MemberI 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?Kevin
MemberThe single-c2assigments.php page is correct in its layout
Kevin
Memberhere's a screenshot of what I think is the archive-c2assignments.php page (should read 'page only' not 'oage only'
Kevin
MemberI 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?
Kevin
MemberI tried that but it's not HTML5. I'm using the education child theme
Kevin
MemberThanks 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.
Kevin
MemberI can now see the post titles but the custom fields are not showing
Kevin
MemberI 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
Kevin
MemberThanks Andrea. I'm still on that learning curve - that was driving me nuts!
Kevin
MemberI will add that I'm using Genesis Simple Headers plugin
Kevin
MemberThanks Marcy
-
AuthorPosts