Questions tagged [theme-twenty-twenty-one]
The theme-twenty-twenty-one tag has no summary.
12 questions
0 votes
0 answers
73 views
Twenty Twenty One update changes dom classes and breaks my child theme
I built my first child theme and am paying the price of my ignorance. It basically breaks all the time. Every update to the main theme (Twenty Twenty One) seems to change some class name that my js ...
0 votes
1 answer
532 views
How to copy page/post from one theme to another?
I was using default wordpress 2022 theme and created few post & page templates from Appearance -> Editor -> Templates. These templates are lost when I switched to a child theme. Is it ...
0 votes
1 answer
857 views
Replace custom SVG icons in Twenty Twenty-One
I was trying to investigate how to replace some icons of the parent theme with the child theme but I was not able to do it. I am trying to replace the SVG icons that are in the twentytwentyone\classes\...
0 votes
1 answer
417 views
How do I override template-tags.php in 2021 theme
I've created a child theme and I want to overwrite functions in inc/template-tags.php file. I thought if I copy this file and recreate folder structure in my child them then it will work but it doesn'...
0 votes
1 answer
320 views
how to add dynamic text before and after of post title
In twenty twenty one theme how to add dynamic text before and after of post title. I want to add “Premium” word before title and “today” word after the title. Please help me
2 votes
1 answer
1k views
Trying to add a custom social icon to a Twenty Twenty-One child theme
I am trying to add an icon to the Twenty Twenty-One social icons, but having trouble registering it. This support article refers to a Themes field guide for WordPress 5.5 which gives instructions on ...
0 votes
1 answer
144 views
Add Different Class on Different Ul in twenty-twentyone theme
I'm creating a custom menu with wp_nav_menu. I want to add different classes on menu and submenu which are coming under different li, but unable to find a solution. Can anyone help me to figure out ...
1 vote
2 answers
634 views
How to change page title (from a plugin) in twentytwentyone theme
First, is it even possible to change the page title from a plugin (specifically, from a shortcode defined in a plugin)? This answer says no, but there are certainly reasonable use cases for it. Like, ...
1 vote
3 answers
362 views
Remove Site Logo from Homepage in Twenty Twentyone
I am looking for a way not to show the site logo in my homepage (but on all other pages). I can manage to do this only in the nasty way, using css and display none - however, I would like to avoid ...
0 votes
1 answer
85 views
twenty twenty one / background values
have checked my source code of my wordpress site/theme using https://validator.w3.org/ because I have installed the new theme twenty twenty one and now the sites stalls on my iphone with an animation ...
0 votes
0 answers
292 views
Why does theme's reset CSS have higher precedence of plugin's CSS?
In the style.css of the theme Twenty Twenty-One, there is a piece of reset CSS: /** * Reset specific elements to make them easier to style in other contexts. */ html, body, p, ol, ul, li, dl, dt, dd,...
0 votes
0 answers
228 views
Completely remove SVG icon load in child theme of Twenty Twenty-one theme
How to Completely remove SVG icon load in child theme of the Twenty Twenty-one theme?