Mohammad mahdi aghakhani
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How can I make tag page title dynamicI think I have to work with
the_archive_title
hook.
but I still cant change the title of tag page with these hooks.
why there is no good example of doing these things!Forum: Developing with WordPress
In reply to: How to execute the condition correctly in function.phpThank you for leaving me, I will definitely check your tips
Forum: Developing with WordPress
In reply to: How can I make tag page title dynamicI will check that thank you.
Forum: Developing with WordPress
In reply to: How can I make tag page title dynamicI write another code but its also doesn’t work
this should be work what wrong with it ?add_filter (‘the_title’, ‘mbpt_strip_tags_for_title’); function mbpt_strip_tags_for_title ($title) { if (is_tag()){ $tag_id = get_queried_object()->term_id; $term = get_tag( $tag_id ); $tags_post_count = $term->count; $title = $tags_post_count . $title; }else{ $title = $title; } return $title; }
Forum: Developing with WordPress
In reply to: How can I make tag page title dynamicthanks for your help.
Forum: Developing with WordPress
In reply to: How can I make tag page title dynamicUnfortunately, I do not have the ability to analyze this code at all
Forum: Developing with WordPress
In reply to: How can I make tag page title dynamichow can I Use that function ? I am not good at PHP hooks and functions!
Guys how can i ask question in this forum?
I cannot find anything to ask my question!!- This reply was modified 3 years, 6 months ago by Mohammad mahdi aghakhani.
Forum: Fixing WordPress
In reply to: Website slow on mobiles onlyHi mickael
You have to check your website in “Gtmetrix” website checker!
Thus website give you information about what and why your webaite is slow
When you find some information about your site you can check and try to fix the issues that slow your website.I just arrived to this error.
Im trying to edit function.php and wordpress give me this error:
“Scrape nonce check failed. Please try again”
I just install three plugin(elementor,elementor pro,woocammrece) and i dont have SG optimizer!
What im i gonna do?Note : my site is in local server(XXAMP)