Hi,
How can i add a specific widget on a tag page ?
like http://www.domainname.com/tag/tagname
This is the only page that cannot be edited by wordpress, why ?
Hey OSLO2019,
Where are you looking to add a widget? What do you mean by This is the only page that cannot be edited by wordpress, why ?, did you try editing tag.php for example?
Best regards,
Rikard
Hi,
I explain the process in private Content.
For editing, when i am on a page like this : http://www.domainname.com/tag/tagname
I don’t have the option for lay out the structure of the page
Thx.
And i try to edit tag.php but no success
I have a shortcut for the widget by example but what the syntax for integrate the widget with php ?
Hi OSLO2019,
You can render the widget with the do_shortcode function:
https://www.wpbeginner.com/wp-tutorials/how-to-use-shortcodes-in-your-wordpress-sidebar-widgets/
If you need further assistance please let us know.
Best regards,
Victoria
Thanks, it’s works
I add this code on tag.php :
<?php echo do_shortcode ( ' [id_widget] ' ); ?>
Hi,
Great, I’m glad that that you got it working. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi,
You can close it, thx.