-
AuthorPosts
-
January 22, 2020 at 12:55 pm #1177164
Hi,
How can i add a specific widget on a tag page ?
like http://www.domainname.com/tag/tagnameThis is the only page that cannot be edited by wordpress, why ?
January 23, 2020 at 8:59 am #1177452Hey 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,
RikardJanuary 23, 2020 at 10:48 am #1177521Hi,
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 pageThx.
-
This reply was modified 5 years, 9 months ago by
OSLO2019.
January 23, 2020 at 10:52 am #1177524And 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 ?
-
This reply was modified 5 years, 9 months ago by
OSLO2019.
January 23, 2020 at 8:50 pm #1177854Hi 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,
VictoriaJanuary 27, 2020 at 12:11 pm #1178650Thanks, it’s works
I add this code on tag.php :
<?php echo do_shortcode ( ' [id_widget] ' ); ?>January 28, 2020 at 5:46 am #1178870Hi,
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,
RikardJanuary 28, 2020 at 12:04 pm #1178974Hi,
You can close it, thx.
January 29, 2020 at 6:58 am #1179299 -
This reply was modified 5 years, 9 months ago by
-
AuthorPosts
- The topic ‘Widget on Tag Page’ is closed to new replies.
