Hot answers tagged

1 vote
Accepted

How to show correct td of table tags in wp_query loop

This cannot be done inside the tr tags, you need to separate this out into two stages. First collect the data ( without displaying any HTML ), then display that data. For example: $editor = new ...
Tom J Nowell's user avatar
  • 58.2k
1 vote

Virus injected to my wordpress site

Although hacked sites are not within scope here (and your question will be closed because of that policy), there are questions here about hacked sites that have answers that will be helpful (I've ...
Rick Hellewell's user avatar
1 vote

Posts Page in WordPress loading bare HTML of my homepage

I was able to find the problem. There was a home.php file in my themes directory in wp-content. Due to the template hierarchy of WordPress, the blogs page was reading from this home.php file, where I ...
Harsha Baskaran's user avatar
1 vote

Font Awesome Icons as squares

Your all.min.css font is loaded onto your site, but can you please check you have a webfonts directory with files such as fa-solid-900.woff and fa-solid-900.svg - At the bottom of the all.min.css file ...
Alexander Holsgrove's user avatar
1 vote
Accepted

How to link and display an "example.php"?

To expand on Tom's answer, you need to understand how templates are used by WordPress. They are the framework that 'builds' the page output. You use a template by creating a page, then selecting that ...
Rick Hellewell's user avatar
1 vote

How to link and display an "example.php"?

Those are template files, you're not meant to access/visit/link to them directly, it's posts and pages that have URLs not PHP files. Have a look at page templates, you'd be better creating a page, ...
Tom J Nowell's user avatar
  • 58.2k
1 vote
Accepted

Option value not getting updated until page refresh in WordPress

There can be a number of reasons for this, some of which involve db cacheing. If all this is happening on the same page, the best way to handle it is to eliminate the extra db calls as they are not ...
butlerblog's user avatar
  • 4,943
1 vote

Wordpress adds 'noindex' tag to search results. Anything I can do about it?

For technical SEO reasons, it's best to noindex internal search results generated by WordPress. This is because it's almost always considered detrimental to the search engine experience... having &...
Jesse Nickles's user avatar
1 vote

­ hyphenation not working in Gutenberg editor

Here is a invisible soft hyphen for you to copy: "­". Unlike the HTML entity ­ which gets filtered out the second time you edit your content, I am able to insert the invisible soft ...
23b's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible