metdark
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Breadcrumbs for products in multiple categories (2020 update)Thanks, it seems to be working!
I am trying to figure out the 520 part though
* Accidentally sent this message, can’t delete it
- This reply was modified 4 years, 5 months ago by metdark. Reason: Why can't I delete this message?
Forum: Themes and Templates
In reply to: [Astra] Edit category pageHi @nikschavan,
I see, I will check this out.
Thanks a lot!Forum: Plugins
In reply to: [Elementor Addons by Livemesh] Add more columns per row for carouselYeap, I just left a review!
Forum: Plugins
In reply to: [Elementor Addons by Livemesh] Add more columns per row for carouselThanks!
I also want to add that your plugin truly enhanced Elementor.Forum: Plugins
In reply to: [Elementor Addons by Livemesh] Add more columns per row for carouselI was using it for logos which are as small as icons.
Like for example past and present clients for the website service.
It could be more than 10 clients.I understand the more server calls for the logos or the accumulated logos size, the slower it will be.
To be honest after 2 weeks, I can’t remember whether this is the limit shown or the total limit of the row.
Forum: Plugins
In reply to: [Elementor Addons by Livemesh] Add more columns per row for carouselThanks!
No problem but you may want to remove the column limit.
Is there a reason for the 10 column limit?Forum: Themes and Templates
In reply to: [Astra] Edit category pageI’ve added the description as per screenshot.
What do I have to do to get the description showing?I tried some combinations from here and other pages as well. https://github.com/brainstormforce/astra/blob/master/inc/core/common-functions.php#L814
Nothing seems to generate the description, only the title.
This is what I thought would be the closest <?php the_archive_description(); ?>, so I added it manually.Your name appear quite frequently in those pages ??
Forum: Themes and Templates
In reply to: [Astra] Edit category pageThanks @nikschavan!
Your explanation and https://wphierarchy.com/ was very helpful.
For my case I had to duplicate archive.php and rename it to home.php.
This worked.For header title, I’ve used <?php astra_the_title( ‘<h1 class=”entry-title” itemprop=”headline”>’, ‘</h1>’ ); ?>
I will style it nicer later.
Hopefully I just have 1 category, if not I have to do conditional php for different description.For testing I’ve tried what you’ve mentioned and other combinations and they did not work
Somehow my category name “Articles” is blog Posts Index page.
Which is weird because I thought it was a category, since the other category was the default “Uncategorized”.
I wonder is it because it’s domain.com/articles?Forum: Themes and Templates
In reply to: [Astra] Edit category pageHi Em,
For example I found the file that edit each post on the category page.
public_html/wp-content/themes/astra/template-parts/content-blog.phpIf anyone can point me to the parent template that calls this template, that’s all I need.
Thanks!
ChrisThe code below works in functions.php instead. Somehow I need to target the exact page id and use template_redirect.
function yoast_add_title (){ if ( $_GET['q'] == 'medical' ) { $title = 'Health'; } if ( $_GET['q'] == 'wealth' ) { $title = 'Financial'; } if ( $_GET['q'] == 'retirement' ) { $title = 'Wealth'; } return $title; } function yoast_add_metadesc (){ if ( $_GET['q'] == 'medical' ) { $metadesc = 'Health'; } if ( $_GET['q'] == 'wealth' ) { $metadesc = 'Financial'; } if ( $_GET['q'] == 'retirement' ) { $metadesc = 'Wealth'; } return $metadesc; } function yoast_add_all (){ if ( is_page(50) && ( ! empty( $_GET[ 'q' ] ) ) ) { add_filter( 'wpseo_title', 'yoast_add_title', 10, 1 ); add_filter( 'wpseo_metadesc', 'yoast_add_metadesc', 10, 1 ); } } add_action( 'template_redirect', "yoast_add_all" );