To add description meta tag add the following code:- View the code on Gist.
Hide content from guest users. Only logged in users can only view the content. To achieve this we will use a shortcode [member][/member] to hide content from non-members.
Add this code inside functions.php of the theme file. browse the site once. and delete the code again. $wpdb->query( ” DELETE FROM $wpdb->postmeta WHERE meta_key = ‘_thumbnail_id’ ” );
Remove un necessary widgets, links, menu from wordpress dashboard (when users logged in) to make the backend less complicated.
Assign Content of Deleted Anonymous User to a Real User using mysql command as there is no option of doing this from wordpress dashboard. 1. Create a user from admin panel and note down the userid. Suppose it is 1623. 2. Then run the following SQL query.
Display all categories and tags in a page or post of wordpress without any plugin. This can be achieved simply adding a snippet of code inside functions.php