I am facing fatal error while loading wordpress site. Error is: Fatal error: Uncaught Error: Call to undefined function twentytwentyone_the_html_classes() in ......(here in the middle shows some links).... and at the end it shows in bold public_html/wp-content/themes/twentytwentyone/header.php on line 16 There has been a critical error on this website. I am not experience in wordpress. I need to resolve this error. here is my site URL https://ijazmedia.com/ I have tried to add below code in header.php file but it did …
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 possible to copy those post/page templates from default 2022 theme to a child theme? If yes how?
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, say, my use case (the shortcode displays detail page content for an item of a collection ... so, I put the shortcode on a page; what's the page title supposed to be? It depends on the detail item.). I have tried every method I can …
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\class-twenty-twenty-one-svg-icons.php file, specifically the Menu and Close icons. In my child theme I created the classes folder and copied the same svg icons file, but when I try to call it in my child theme functions.php, it doesn't work, I'm probably using …
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't? How to do it properly?
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
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 how to add a custom icon and hook it in so that it appears when the relevant url is typed in as a menu item custom link. I copied the function from the Field Guide, changing the hook to match 2021 theme rather than 2020 (since …
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 this question. I am sharing the HTML part which I am trying to convert for making menu dynamic. <ul> <li><a href="#">Home </a></li> <li class="menu-dropdown"><a href="#">Supplies <i class="ion-ios-arrow-down"></i></a> <ul class="sub-menu"> <li><a href="#">Chemicals</a></li> <li><a href="#">Food</a></li> </ul> </li> <li class="menu-dropdown"><a href="#">More <i class="ion-ios-arrow-down"></i></a> <ul class="sub-menu"> <li class="menu-dropdown …
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 that the logo is not loaded on the homepage? functions.php? best, Aprilia
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 I used before. tools says: background: repeating-conic-gradient(from 0deg,rgb(236, 236, 236, 0.9) 0deg 1deg,transparent 1deg 2deg) is an ERROR and is not a background-color value? I can find quiet many examples in the web that say it should be that way? any advice? regards, A
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, blockquote, figure, fieldset, form, legend, textarea, pre, iframe, hr, h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } Why does it have higher precedence than the CSS in my custom plugin? The result is …