Forum Replies Created
-
AuthorPosts
-
TGScreative
MemberSorry I dropped the thread on this. I created a page called News. On Settings I selected that as my Posts PAge. I want any content from my static page, i.e., the page title and and text below that, to appear at the top of the page, before the list of blog posts.
I tried adding this to functions.php
//* Add page title to blog page add_action ( 'genesis_before_content','my_blog_title' ); function my_blog_title() { if ( is_archive() ) : echo '<h1 class="entry-title">'. get_the_title() .'</h1>'; endif; }but I guess I did somethign wrong because it doesn't work
TGScreative
MemberThanks
I was hoping to avoid needing to buy Views. I mean I should be able to do this myself at some point right if I am going to call myself a WordPress designer/developer? But you might be right that this is way over my head, because I don't just want to feature post content but also to organize it in by custom field date, i.e. if the custom field end date is past, it goes under heading "Past", etc. ThanksTGScreative
MemberAlso tried another method, creating a blog template in the child theme with this code:
<?php //* Template Name: Blog //* Show page content above posts add_action( 'genesis_loop', 'genesis_standard_loop', 5 ); genesis();I applied the template to the blog. At first this didn't work at least not until I went to settings and deselected the News page as a "post page" from settings for a site with a static front page.
So am I doing this right? I didn't see any information about how to set up a static home page in the Genesis which seems like a grave omission. What am I missing here?
TGScreative
MemberFigured it out! Simple mistake. Instead of
the_ID()should have usedget_the_ID()TGScreative
MemberBrad, my question was not how to place an image from custom fields. That I have done. My question was how to get the image to link back to the post it was featured on. Would you have any source for how to do that? Thank you for your help.
TGScreative
MemberThanks David. That does seem to help to view content.
I agree with you about the bloated navigation.Any ideas how to compress the navigation into a hamburger icon or something else, so it won't take up most of page real estate?
TGScreative
MemberThanks, that works.
That CSS was added per instructions at
http://bradpotter.com/create-a-responsive-mobile-menu-from-the-primary-navigation-menu/
I wonder how it will effect how that works.TGScreative
MemberThanks for the suggestions for other gallery plugins but they work by creating a page of thumbnails that link to individual images. What I was looking for is an image browser, i.e., image #1 appears full size on the page and links "Next" or "Previous" toggle your through the other images.
BUT..
I figured out what was going on with NextGen. Changing permalinks from Default to Post Name fixes the problem!
TGScreative
MemberHmm wonder why my links aren't working. This time I won't use the "link" icon...
Tutorial: http://bradpotter.com/create-a-responsive-mobile-menu-from-the-header-navigation-menu/
Website: http://jeffcohan.net/lcc/
TGScreative
MemberTGScreative
MemberTGScreative
MemberThanks Neil! Works like a dream
TGScreative
MemberOkay I figured out the problem
padding for the 'a' element was specificed in "rem" but not in "px" as well. Not sure why this caused a problem but it fixed it.TGScreative
MemberThanks, Tony!
TGScreative
MemberThank you. Works great NutsandBolts. Forgot about the static page being referenced by page ID
TGScreative
MemberI mean the Sample Child Theme that comes with purchase of Genesis. That is distressing to hear that StudioPress does not visit their own forum.
-
AuthorPosts