April 25, 2014 at 12:00 pm #102343
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.
emilyApril 25, 2014 at 12:04 pm #102344
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/
Volunteer who’s written 1814 tutorials & 3000+ Code Snippets for members – Not For Hire.April 25, 2014 at 12:20 pm #102346
wow! 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 #102351
There 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.
Volunteer who’s written 1814 tutorials & 3000+ Code Snippets for members – Not For Hire.April 26, 2014 at 8:21 am #102422
ok, 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 #102431
scratch that—found one... sorry for not looking more before asking.May 4, 2014 at 11:05 am #103334
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?
You must be logged in to reply to this topic.