How can I remove all traces of a theme?

The widget errors are the only ‘real’ errors. The header related errors are just caused by the error notices being output before the HTTP headers (including the one output in misc). Fixing that error would solve the others. The problem with the widgets is that they are written with out of date PHP (it doesn’t … Read more

How to edit the font color of the H1 on a single page?

If you’re using body_class and post_class correctly, you should have CSS classes you can match against that take the form postid-0001 etc Next you need the CSS to change the h1 colour Find the ID of your membership page, and use the CSS class in your CSS selector so it only matches on that page. … Read more

Cannot figure out what element header color is in wordpress theme [closed]

You can use your browsers Inspector via it’s Developer Tools to hover-and-reveal the class andor id name(s) of all html elements on a webpage. Here’s some links to popular browsers and how to get started with the tool https://developer.chrome.com/devtools https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/Web_Inspector_Tutorial/EnableWebInspector/EnableWebInspector.html For your site, I believe css of #site-navigation { background: black !important; } will … Read more

SOLVED Custom Add rewrite rule and Get string

The values parsed out of internal rewrites don’t end up in GET, you have to use get_query_var(‘search_location’) instead. If you have code that you can’t edit that relies on GET, you can try to set them manually- function wpd_foo_get_param() { if( false !== get_query_var( ‘search_location’ ) ){ $_GET[‘search_location’] = get_query_var( ‘search_location’ ); } } add_action( … Read more

How to include files relative to a file’s directory

Plugin within a theme – sounds like something new. You might not find function in this context. Let’s create ours: <?php /** * Get My Plugin URL. * @return string. */ function wpse295740_get_plugin_url() { // http://example.com/wp-content/themes/my-theme/inc/my-plugin return get_template_directory_uri() .’/inc/my-plugin’; } /** * Get My Plugin Path. * @return string. */ function wpse295740_get_plugin_path() { // eg. … Read more

home.php show blog posts as grid view

It’s a little bit hard to guess, what exactly do you want to achieve (you’ve mentioned something about four posts in a row and then there is number 6 in your for loop), but… If you want to display only 4 posts in your loop, then you can use current_post field of $wp_query, so the … Read more