can I use the WPcode plugin and add there the two PHP functions you suggested?
https://docs.generatepress.com/article/implement-google-tag-manager/#using-functions
I put the google tag in the header&footer section of WPcode previously, but it didn’t work out.
Alternatively, How can I access the HTML of every page?
I don’t have the premium theme.
Thank you!
]]>I’m new to wordpress and I’m trying to edit all the H1-H6 tags on a friend’s website. I want to add/edit the tags myself vs a plugin (as I haven’t had great luck with these).
(I know this is probably a dummy question but I’m new, so I appreciate your help!)
In my page.php file – the h1 is being set by this – seems to be common across WP:
<header>
<h1 class=”page-title” itemprop=”headline”><?php the_title(); ?></h1>
</header>
Can you explain what exactly this is doing? I can’t find the h1 class and I can’t figure out where the actual text for the H1 is being set.
For example, on this page:
https://shoulderpainatnight.com/how-to-use-the-pillow/
The H1 is How To Use The Pillow – how do I set this? Should I delete the above? There are also multiple H2s being set.
THANK YOU!
]]>First of all, I am new to WordPress.
After creating and activating a child theme for my template, I would like to edit the html in the content of the static front page. More specifically, I would like to add an anchor to one of the sections, after people click on the CTA Button on top of the page. Previous anchor posts mostly relate to simple links inside of the post, thats why I ask this question.
Where can I edit the html for inserting an anchor into the H2 title? Or, more generally, how do you find the right file in your theme fast to grab and modify the specific html code? I hope this can help other beginners too.
Many thanks in advance,
Christian
First problem
I have an issue with my site’s footer. For some reason whenever I activate a certain plugin the background continues under the footer. I tried contacting the author for days but he hasn’t helped yet.
Anyway, it does this only on the main homepage and not anywhere else on the whole site. Here’s how it looks like:
https://s17.postimg.org/ezdd6xiun/ft2.jpg
I think I may have found what’s wrong though. I checked with Chrome’s Developer Tools and in the homepage it says custom-background only-on-home. In the other pages it only says custom-background.
Here’s a screenshot, yellow highlight:
https://s29.postimg.org/fn1tfejl3/custom_background.jpg
I guess this is in HTML though, how could I edit and alter this line in WordPress so I can remove the “only-on-home”?
Second problem
I added SSL to my site so it’s https now (Cloudflare). However, in Developers Tools it says that a certain plugin was detected requesting an insecure stylesheet. So I click it and it goes to (index) in the Sources tab of Developers Tools. It shows me that the below request has http instead of https:
https://s17.postimg.org/dpcu767xr/qwert.jpg
So I suppose if I manage to edit it and replace http with https this will be solved as well. This shows HTML though as well. My question is, which file contains all this information displayed in Developers Tools so I can edit it and add the https?
I’ve been searching for so many hours!
I would be grateful for your help!
Thank you.
]]>Here is the link https://eloine.com/blog/ and if you scroll to the bottom you’ll see the “older posts” link in black and that is what I want to target.
]]>How can I deal with that? Any suggestions?
]]>When I click on my page code I found that is this section in the HTML
<div class=”brd”></div>
I have been looking in the Worpress Editor unable to find this brd division to delete it. Where can I edit de theme HTML to delete this white space?
]]>