display last post modified date in genesis child themes
Try using the_modified_date() or the_modified_time(), which should display the last updated date.
Try using the_modified_date() or the_modified_time(), which should display the last updated date.
Don’t know if this is solved yet since the post is so old, but you’ll probably have to edit this file (non-upgrade safe manner) in order to do it. Try doing what this guy recommends: Show default content if custom WP_Query has no posts Basically, create an else statement where the code you pasted above … Read more
Like @jdm2112, I’m not a Gensis user, but here is an alternative method to retrieving the featured image. I use this method because it offers more functionality to altering the featured image (ie: thumbnail size). You can add these functions to your functions.php file. public function get_featured_image_id() { return (int) $this->get_meta( ‘_thumbnail_id’ ); } /** … Read more
when blog section comes from posts then check the content.php in active particular theme. and modify the html code <?php if ( is_single() ) : ?> <h1 class=”entry-title”><?php the_title(); ?></h1> <?php else : ?> <h1 class=”entry-title”> <a href=”https://wordpress.stackexchange.com/questions/195188/<?php the_permalink(); ?>” rel=”bookmark”><?php the_post_thumbnail(); ?><?php the_title(); ?></a> </h1> <?php endif; // is_single() ?> <div class=”entry-meta”> <?php twentythirteen_entry_meta(); … Read more
Maybe the question is css related. Anyway if you need modify the output html of your navs using Walker Class For more information check… codex
It comes down to needing to disable the search slug, by removing the search rewrite rules. I’ve created a plugin (also on the wp.org repo): https://github.com/GaryJones/disable-search-slug Here’s the main file: <?php /** * Disable Search Slug Plugin * * @package Gamajo\DisableSearchSlug * @author Gary Jones * @license GPL-2.0+ * @copyright 2016 Gamajo Tech * * … Read more
EDIT: Instead of all that, you could just use a meta_query and “NOT IN” to exclude the feature stories from your second query. That’s the easiest answer. Check out this meta query documentation for help. 1, you need to have do_not_duplicate be a global array in order access it across functions (pretty sure). 2, you … Read more
The hamburger is shown with ionicons as an after element. You have conflicting CSS in your theme. This (specifically, the content: ” “;) CSS: .entry:before, .entry-content:before, .nav-primary:before, .site-container:before, .site-header:before, .site-inner:before, .wrap:before { content: ” “; display: table; } is overwriting the hamburger menu’s CSS @media only screen and (max-width: 800px){ .menu-toggle:before, .menu-toggle.activated:before { color: #1e1e1e; … Read more
So honestly, I think this is just my fault. I was under the impression that a child theme extended the parent similar to how it works in drupal. It seems like the parent theme here has little to do with the display and more about framework type stuff, seo.
Use the ‘genesis_search_title_text’ filter: add_filter( ‘genesis_search_title_text’, ‘wpse_101947_search_title_text’ ); function wpse_101947_search_title_text() { return ‘Translated text’; } Replace Translated text with your translated text.