Community Forums › Forums › Archived Forums › Design Tips and Tricks › layout strategy advice
- This topic has 6 replies, 2 voices, and was last updated 9 years, 11 months ago by design_agency.
-
AuthorPosts
-
April 25, 2014 at 12:00 pm #102343design_agencyMember
hiya~
looking for some advice on a page layout.
i've added navigation to the content area of my portfolio pages and i'm happy with the look of it. i've done this by making some style classes and then using them in my individual pages see here.
my concern is that when i hand the site over to my client, i anticipate that he is going to accidentally bump into some of the code when making revisions to the text.
what im wondering is — is there a better way to include the secondary navigation (previous/next and the portfolio links at the bottom)? can this be "hooked in" or otherwise coded so as not to appear in the page content box?
i'd appreciate any advice.
thanks,
emilyApril 25, 2014 at 12:04 pm #102344Brad DaltonParticipantYes.
Please paste your CSS code for your links in a Github Gist and embed it here or link to it.
Here's a guide to how to hook in the links http://wpsites.net/web-design/different-ways-to-add-post-navigation-pagination-in-genesis/
April 25, 2014 at 12:20 pm #102346design_agencyMemberwow! ok, that's a great tutorial. by looking at the link i sent along, is everything in there for both of the secondary navigation lines i've got now?
and here is the code that's currently in my content box (is that the code you were asking for)? is this the best way to point to github?
thanks so much,
emilyApril 25, 2014 at 12:48 pm #102351Brad DaltonParticipantThere hard coded links in your HTML. Why?
I would use any of the examples on the post i linked to and style theme anyway you like.
You can then change the hook position and float them right.
Github link or embedded code in a Gist are both fine.
April 26, 2014 at 8:21 am #102422design_agencyMemberok, i think i'm getting this, however, all of the nav i'm adding is on my portfolio pages which don't allow me to use categories. i've found a tutorial about adding "types" to the portfolio, would that work? if not, could you point me in the right direction to add categories to my portfolio pages?
April 26, 2014 at 8:42 am #102431design_agencyMemberscratch that—found one... sorry for not looking more before asking.
http://dreamwhisperdesigns.com/genesis-tutorials/add-taxonomy-minimum-theme-portfolio/
May 4, 2014 at 11:05 am #103334design_agencyMemberhi brad,
i've been trying to figure this out on my own but im spinning my wheels. when i add this code from your tutorial it works, of course, but it adds previous / next to *all* of my portfolio posts. what im after is to have previous / next links for only 3 pages within my portfolio to appear above the post content (see schematic here, links circled in red).
i've created a category for these pages (glass) and thought if i used 'glass' conditionally it would work. but i must be missing something. i've been scouring your site for clues but i've really hit a wall. the most recent code i've got in my functions.php is here.
page im trying to add this nav to is here.
any chance you can spot whats up?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.