How to overwrite a value for a custom field?

I don’t think the problem is with the workings of the custom meta field (look into the XY problem). The issue is with the use of relative URLs, whether you realize that that is what you are doing or not. Left empty, <a href=”” target=”_blank”> is by default the page you are on. Likewise, echo … Read more

Spams, Scams on WordPress site – what to do?

One of our developer Mr. Ahsan Ullah found a very normal solution to that: He simply Refreshed the Permalink settings and it’s all set. From /wp-admin, going Settings » Permalinks, he clicked the Save Changes button. The permalink structure of the whole site was refreshed and the unwanted links were vanished from the site.

How to create three columns from selected posts

You might not have expected this kind of solution but it is worth knowing that there is also a front end solution for this kind of problem. The css3 spec have a new feature called column-count, which will automatically render your text in multiple columns Here is a simple example from w3schools div { column-count:3; … Read more

Highlight main menu when on specific posts or pages

As noted in comments above, the OP’s code generates malformed CSS. Per request, here is corrected code. It should help solve part of the issue (or prevent other issues) but I doubt it solves all of it. function blog_link_genesis() { if( is_single() || in_category(‘investors’) || is_page( array(4, 30))) { $current=”#header #nav #menu-item-133 a”; ?> <style … Read more

spacing disappears on posts when importing

As Sven noted in the comment, your theme doesn’t have any spacing after paragraphs. It’s actually set to no space between paragraphs on line 797 of your style.css. If you were to change that line and the one above it so the last numbers in each line were 10px and 1rem, you’d have fairly default … Read more