Comment by Michael on How do I change the template specifically for single...
please ask in your theme's forum at wordpress.org/support/theme/period
View ArticleComment by Michael on How to output the taxonomies that are assigned to each...
review developer.wordpress.org/reference/functions/get_the_terms vs developer.wordpress.org/reference/functions/get_terms
View ArticleComment by Michael on Shortcode do not return a value
the code seems to output ok in my test site; maybe there are interfering plugins or other filters in your site?
View ArticleComment by Michael on get_sidebar() will not work in footer.php
what you posted as 'rendered html' is clearly not generated from what you posted as code in footer.php - the html tags and CSS does not match. what html code is rendered in the footer?
View ArticleComment by Michael on Display related posts without a plugin
use the functions that will return the results: get_the_title() and get_permalink() and get_the_post_thumbnail()...
View ArticleComment by Michael on Order post by modified date
do you have any sticky posts? possibly add the 'ignore_sticky_posts' parameter to the query; developer.wordpress.org/reference/classes/wp_query/…
View ArticleComment by Michael on Display related posts without a plugin
it is really about using get_the_title() instead of the_title() etc in your code...
View ArticleComment by Michael on How to show only first, second, third Custom taxonomy...
have you tried using 'offset' in the arsg? developer.wordpress.org/reference/classes/wp_term_query/…
View ArticleComment by Michael on Loop keeps showing the same post even when I click on a...
the problem might be with the template which you are calling with ` get_template_part( 'parts/splide', 'seasonsHeroSlides' );` - what is the code of that?
View ArticleComment by Michael on Read more block is appending /#more-{post_id} to the link
read codex.wordpress.org/…
View ArticleComment by Michael on “Continue reading” not on some posts, full excerpts not...
what setting are you using under 'Customize' - 'Excerpt Settings'? are you using a hand-written excerpt for the post? have you asked in the theme's forum at wordpress.org/support/theme/twentytwentyone ?
View ArticleComment by Michael on Display "large" image size and show caption in...
does the theme have an attachment.php template? developer.wordpress.org/themes/basics/template-hierarchy/… ? you might need to create and edit this accordingly.
View ArticleComment by Michael on Ignore the Ad on Specific Categories
check developer.wordpress.org/reference/functions/in_category and the examples therein
View ArticleComment by Michael on If do_shortcode is blank, return some message
possibly ask in the support forum of your plugin wordpress.org/support/plugin/post-expirator
View ArticleAnswer by Michael for Remove parentheses from tag cloud count
this is an example output of an tag cloud widget element (wp4.8):<a href="http://localhost/wp-beta-test/tag/handcrafted/" class="tag-cloud-link tag-link-327 tag-link-position-22" style="font-size:...
View ArticleAnswer by Michael for Function to alphabetically sort custom post types...
'orderby' => 'name' sorts by slug - not title;therefore, the title Imancorp Foundation which has this permalink http://www.alianzafpdual.es/las-empresas/fundacion-imancorp-foundation/ breaks the...
View ArticleAnswer by Michael for How to add page numbering with php?
to change the number of 'posts_per_page' for one specific category archive page (assuming your are using a different number for all other archives), try working with the 'pre_get_posts' action; see...
View ArticleAnswer by Michael for How to display related posts from the same category?
One possibility:$related = get_posts( array( 'category__in' => wp_get_post_categories( $post->ID ), 'numberposts' => 5, 'post__not_in' => array( $post->ID ) ) );if( $related ) { foreach(...
View ArticleAnswer by Michael for Can we count the Wordpress Loop
$wp_query->current_post is the build-in loop counter, starting with 0 zero for the first post in the loop.so the line some code to be executed could translate to:<?php if(...
View ArticleAnswer by Michael for Link won't show using the_permalink();
because the_title() expects a string for the $before and $after args, you need to use the string version of the permalink, in a string concatenation;<?php the_title('<h2 class="wow"><a...
View Article
More Pages to Explore .....