Admin area is not loading properly

You may have a bad plugin causing the ‘white screen of death’ when you try to get into the admin area. Check the error.log file in the wp-admin folder. That should give you an idea of where the problem is. You could also manually disable a recently-installed plugin by renaming that plugin’s main folder in … Read more

str_replace in wp-admin

There are lots of admin-page filters you can use. Without knowing exactly what you want to do, this page might be a starting point for you. https://codex.wordpress.org/Plugin_API/Filter_Reference#Administrative_Filters Good luck!

wp_query beginner

After you create your custom query, you just write The Loop as you would for the default query. So your code would look like this: if ( $query->have_posts() : while ( $query->have_posts() ) : $query->the_post(); // Your Post Stuff Goes Here endwhile; wp_reset_postdata(); else : // No Posts Found Code Goes Here endif; Note the … Read more

Set plugin page as homepage

There are a few methods to accommplish this goal. Easiest in my humble opinion is to do a HTACCESS Redirect such as Redirect 301 / http://conradbowenrealestate.com/homes-for-sale-search/ Another method would be to use the wp_redirect function as shown in the codex add a new function and include a code snippet like the one below to your … Read more

WordPress switch domains

First of all, go to phpMyAdmin, go to your database for test.site.com and edit siteurl and/or home in wp_options table. That’ll fix your test.site.com Now, to migrate test.site.com to site.com, as you’ve difficulties doing it manually, I’d suggest a plugin like Duplicator or All-in-One WP Migration to migrate the site. It’s way easier that way. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)