aish547
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Breadcrumbs not shown in postsHere is an issue:
For Example: On this page: https://lawbhoomi.com/law-college-search/vrindavan-law-college-mathura-up/
Instead of Law College Search: Search All Law Colleges in India, I want it should show “All Blogs” and
for
“LL.B.”: [space].
I tried:
.single.grid-container.grid-parent >p >span >span a { content = “All Blogs”;}
.single.grid-container.grid-parent >p >span >span >span a { content = ” “;}Forum: Themes and Templates
In reply to: [GeneratePress] Breadcrumbs not shown in postsThanks!
Forum: Themes and Templates
In reply to: [GeneratePress] Breadcrumbs not shown in postsIt works. Thanks @david!
Just a few corrections:
1. Don’t want to show the primary category in the breadcrumb.
2. The name of the post shall be in green colour.Forum: Themes and Templates
In reply to: [GeneratePress] Breadcrumbs not shown in postsHey!
I need to show breadcrumbs only in single posts. It shows in the blog listing too.
Forum: Themes and Templates
In reply to: [GeneratePress] Breadcrumbs not shown in postsAlso, I got this reply for your code:
The code snippet you are trying to save produced a fatal error on line 3:
syntax error, unexpected ‘class’ (T_CLASS), expecting ‘)’
Forum: Themes and Templates
In reply to: [GeneratePress] Breadcrumbs not shown in postsShould I remove all other php code, css and plugin?
Forum: Themes and Templates
In reply to: [GeneratePress] filter everything code not workingIt works. Thanks!
Forum: Themes and Templates
In reply to: [GeneratePress] Change Design of the Category and tag linksThanks!
Forum: Themes and Templates
In reply to: [GeneratePress] Add borders to featured imageIt works! Thanks!
Forum: Themes and Templates
In reply to: [GeneratePress] Change Design of the Category and tag linksYou are right! I did miss it!
The code works.
Thanks!
But, what about commas the category links (and tags links to be added soon) just below the title?
I have added them using the following filter:
add_action( 'generate_after_entry_title', 'lh_add_cat_below_title' ); function lh_add_cat_below_title() { if (is_single() ) { $categories_list = get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'generatepress' ) ); $categories_list = sprintf( '<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>', _x( 'Categories', 'Used before category names.', 'generatepress' ), $categories_list ); } ?> <div class="entry-meta"> <?php echo $categories_list; ?> </div> <?php }
Forum: Themes and Templates
In reply to: [GeneratePress] Change Design of the Category and tag linksThanks!
The code works for blog page.
But for single post/blog, it is not working.
Check at: https://lawbhoomi.com/law-college-search/the-department-of-law-sri-krishna-university/
Forum: Themes and Templates
In reply to: [GeneratePress] Change Design of the Category and tag linksWorks.
But how to remove icons and commas? It looks gross.
And the text color to black.Forum: Themes and Templates
In reply to: [GeneratePress] Not able to put cat-links above the blog titleCleared cache. It’s working. Thanks!
Forum: Themes and Templates
In reply to: [GeneratePress] Not able to put cat-links above the blog titleNo, This is what I see.
Forum: Themes and Templates
In reply to: [GeneratePress] Not able to put cat-links above the blog titleHi,
This code is not working on mobiles.