Category: sql

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

First of it all, login to your phpmyadmin and choose your WordPress database. Once done, click on the sql button to open the sql command window. Then, simply paste the following sql command and execute it. DELETE FROM `wp_options` WHERE `option_name` LIKE (‘%_transient_%’); Credit: Stack Overflow Want more super useful SQL queries? Check out this […]

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

First of it all, login to your phpmyadmin and choose your WordPress database. Once done, click on the sql button to open the sql command window.Then, simply paste the following sql command and execute it.

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

First, open your functions.php file and paste the following code in it:

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Paste the following code in your single.php file, within the loop. Edited the text on line 7 as desired.

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

This code has to be pasted into your theme’s functions.php file. It can be customized to deal with custom post types, as shown on line 16 and after.

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

First, place the code below into your theme’s functions.php file and don’t forget to save.

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Before pasting this code in your function.php file, edit line 11 and replace contact.php by the name of the page you want to disable the editor for.

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Simply paste this code where you want to display the active plugin list. Once saved, active plugins will be displayed.

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Simply paste this code into your function.php file. Edit lines 5 and 6 at your convenience.

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Simply paste the following code into your functions.php file:

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Just run the following query on your WordPress database to delete comments with nastyspamurl as url. Don’t forget to replace the table prefix wp_ if your database is using another prefix.And of course, create a backup of your database before running the query!

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Just run the following query on your WordPress database to delete comments with nastyspamurl as url. Don’t forget to replace the table prefix wp_ if your database is using another prefix.And of course, create a backup of your database before running the query! DELETE from wp_comments WHERE comment_author_url LIKE “%nastyspamurl%” ; The post WordPress tip: […]