Forum Replies Created
-
AuthorPosts
-
July 24, 2016 at 12:47 pm in reply to: moved post/page titles, post titles disappeared on archive page #190035dmcleod87Member
thanks for sharing...glad it worked for you but unfortunately that wasn't the solution i was after.
with my original code above, this is what the posts page currently looks like.. It has the page title in the banner, but the post title is missing, it should be in the space above the date. in this screenshot of the individual post page, the title is in the banner as it should be.
can anyone point out what i'm doing wrong? adding
add_action( 'genesis_entry_header', 'genesis_do_post_title' );
adds the post title back in as seen here but then it's duplicated on normal pages as seen hereJuly 21, 2016 at 7:59 pm in reply to: moved post/page titles, post titles disappeared on archive page #189981dmcleod87Memberno sorry i never did figure it out...i've deleted the screenshot link by accident too...if i remember i'll post another later in case someone comes across a solution.
March 18, 2016 at 11:48 pm in reply to: moved post/page titles, post titles disappeared on archive page #181836dmcleod87Memberno ideas on this problem? here is a screenshot to help visualise what i'm referring to - screenshot
any help would be greatly appreciated!
February 25, 2016 at 5:00 pm in reply to: adding pagination to custom post type page template #179925dmcleod87Memberfigured it out. using the tutorial i mentioned above and following brad's advice, i added parts of the snippet to my custom template, rather than to functions.php
hope this helps someone else in the future!
<?php /* Template Name: Portfolio Item */ remove_action('genesis_loop', 'genesis_do_loop'); add_action('genesis_loop', 'custom_loop'); function custom_loop() { global $paged; $args = array('post_type' => 'portfolio'); genesis_markup( array( 'html5' => '<div %s>', 'xhtml' => '<div class="navigation">', 'context' => 'adjacent-entry-pagination', ) ) ?> <article itemtype="http://schema.org/CreativeWork" itemscope="itemscope" class="post-<?php print $pageid; ?> page type-page status-publish entry"> <div class="entry-content" itemprop="text"> <div class="custom-page-content"> <?php if(have_posts()) : while(have_posts()) : the_post(); echo '<div class="intro-text-wrapper">'; /* Display the page title */ echo '<h1 class="page-title"> ' . get_field('project_page_title') . ' </h1>'; /* The following code displays the Advanced Custom Fields meta boxes */ echo '<div class="intro-text"> ' . get_field('project_intro_text') . ' </div>'; echo '</div>'; /* Show page content below intro text */ do_action( 'genesis_entry_content' ); // Add pagination Portfolio Post Type echo '<div class="pagination-previous alignleft">'; previous_post_link(); echo '</div>'; echo '<div class="pagination-next alignright">'; next_post_link(); echo '</div>'; echo '</div>'; endwhile; endif; ?> </div></div></article> <?php } genesis();
February 20, 2016 at 2:05 am in reply to: adding pagination to custom post type page template #179451dmcleod87Memberhi brad,
it's a single-portfolio.php template. is this snippet what i would be looking for? https://wpbeaches.com/add-custom-post-type-navigation-links-in-genesis/
i tried it just then and no luck.
dmcleod87Memberfrom memory you will need to combine it with the Types plugin to setup a custom post type. sorry i can't be of more assistance at the moment as i'm away at the moment...maybe try the plugin documentation?
dmcleod87Memberhi RavenManiac no unfortuantely i didn't. earlier in this thread there is a link to the plugin i ended up going with to setup my portfolio. try that instead...worked perfect for me and have used it on other clients sites.
dmcleod87Memberthanks! i don't know how i missed that...needed a pair of fresh eyes!
dmcleod87Memberthanks for clearing that up...i'm still getting my head arounds hooks and genesis as a framework so thanks again for the help!
dmcleod87Memberthat did the trick! i removed the css temporarily as i was playing around and forgot to add it back in so that's why it was missing.
can you please explain the difference between the two add_action lines above, just so i can get a better understanding?
thanks so much for your help genwrock!
dmcleod87Memberthanks for the quick reply @genwrock! unfortunately the background is not full width and is contained within a wrap class still...any ideas?
dmcleod87Memberhi @Dag-Erling it might be best if you consult the documentation that came with the plugin.
dmcleod87Memberthanks for the kind words everyone!
the icons are custom made SVG icons which change colour on hover via css.
dmcleod87Memberhi susan,
never resolved this...tried searching the forums and via google but no luck!
dmcleod87Memberthanks for the kind words lynne! i thought i fixed that button but obviously not...thanks for notifying me!
dmcleod87Memberhi chris,
here is the live site, you may be able to use Firebug or Code Inspector to check out the CSS. I can't remember the exact fix that Lynne used.
hope this helps.
dmcleod87Memberno i attempted to create a portfolio using this tutorial but had some issues with getting it to display right with this child theme. in the end i went with this plugin which works great! hope this helps!
dmcleod87Memberoh and feel free to make comments on how i could improve the site...i'm open to suggestions!
January 12, 2014 at 9:22 pm in reply to: submit button looks different iphone/ipad – modern portfolio #84897dmcleod87Memberthat did the trick...thanks @nutsandbolts much appreciated!
January 7, 2014 at 5:01 pm in reply to: issues with adding filterable portfolio modern portfolio theme #83908dmcleod87Memberah ok that did the trick...thanks so much!
-
AuthorPosts