remove_action( ‘woocommerce_archive_description’, ‘woocommerce_taxonomy_archive_description’, 10 );
remove_action( ‘woocommerce_archive_description’, ‘woocommerce_product_archive_description’, 10 );
add_action( ‘woocommerce_after_main_content’, ‘woocommerce_taxonomy_archive_description’, 40 );
add_action( ‘woocommerce_after_main_content’, ‘woocommerce_product_archive_description’, 40 );
Works on desktop but unfortunately on mobile nothing has changed. How can I solve it?
Sorry for my bad English.
I am trying to find a solution to this issue since a very long time and this is the most accurate step to step guide that I’ve found so far: https://www.silocreativo.com/en/display-category-tag-descriptions-wordpress/
As I understand it is not a plugin or WordPress related issue but a theme related issue which I hope that you can help me with.
Since there seems to be no category.php or archive.php in my child theme /genesis I went to my index.php. and this is what I found:
if ( have_posts() ) {
while ( have_posts() ) : the_post();
get_template_part( ‘content’, get_post_format() );
echo ‘<div class=”item masonry-post”>’;
if( has_post_thumbnail() ){
$index_style = get_theme_mod( ‘index_style’, ‘msnry_grid’ );
if( $index_style == “msnry_grid”) {
echo ‘‘ ,
the_post_thumbnail( ‘masonry-featured’ ) ,
‘‘;
} else {
echo ‘‘ ,
the_post_thumbnail( ‘large’ ) ,
‘‘;
}
}
$category = get_the_category();
$category_link = get_category_link( $category[0] );
echo ‘<div class=”entry-header”>
<p class=”entry-meta”>‘ , $category[0]->cat_name , ‘</p>
Could someone please indicate where exactly I need to paste this code that the page suggests? (Or do you have another appropriate code for the index.php since that code is for the category.php and not index.php as mine is?)
Ps. I am using station seven’s Kindred theme.
Thank you in advance!
]]>Thank you for any help!
https://www.ads-software.com/plugins/otw-portfolio-light/
]]>I’m (desperately) trying to add a line under my category title with the description of it.
Do you know a simple way to do it? I’m sure it’s not so hard and don’t need coding hours…
I’m using wp 3.9.2 with Gonzo Theme
Have fun on wp and thank you per advance!
Thibault
]]>Thanks for your beautiful theme.
I would like to add the category description and title in category page but it seems I can’t find where to add the snippet of code.
Which file displays the post within one category?
Many thanks.
]]>