Tag Archives | Wordpress

WordPress: how to set Featured image in custom post type

When you create a new custom type in WordPress, you need to use Featured image, how to set Featured image in custom post type? Step 1: you must place thumbnail in supports array See example below (for post type: actor): Step 2: You must add theme support for this post type See example below (for […]

Read full story Comments { 0 }

WordPress plugin: Anti-Adblock v1.0.0

Plugin Name: Tutorialspots Anti-Adblock Plugin URI: http://tutorialspots.com Description: Anti-Adblock Author: Tutorialspots Author URI: http://tutorialspots.com Version: 1.0.0 License: GPL2 Download: http://demo.downappz.com//wordpress/tutorialspots-anti-adblock-v1.0.0.zip Installation: Step 1: Upload zip file to folder wp-contents/plugins Step 2: Unzip file Step 3: Goto wp-admin and active this plugin Step 4: Goto Anti-Adblock setting Now you can use this plugin 😀

Read full story Comments { 0 }

Nginx .htaccess alternative for WordPress

After migration from apache to nginx, your website can’t run. You will get the error: Because Nginx doesn’t support .htaccess file. You can follow these steps below: Step 1: Find your domain conf file i.e. /usr/local/nginx/conf/conf.d/tutorialspots.com.conf Step 2: use code: I.e. Step 3: restart nginx Done!

Read full story Comments { 0 }

How to reset WordPress admin password

A day, we can’t login to wp-admin, because of our website is hacked or a long time ago we don’t logged in… We can’t reset the password via email. How to reset WordPress admin password? Follow theses steps: Step 1: Goto Phpmyadmin to view the admin’s ID. Here is 1 Step 2: goto file index.php […]

Read full story Comments { 0 }

WordPress: Install MathJax-LaTeX plugin

Step 1: Plugins -> add new Step 2: Search: “MathJax-LaTeX” Step 3: Click “Install now” Step 4: Click “Activate Plugin” to activate that plugin. If your see the error below, you can fix following some steps below. Step a: Plugins -> Editor Step b: select MathJax-LaTex Step c: click “Select” You can see in lines […]

Read full story Comments { 0 }

Manual Translation of a WordPress Theme

Almost of WordPress themes include a language file to make translating to a different language easy. Inside the theme folder wp-content/themes/theme-name/languages , you’ll find a language file named theme-name.pot. Configure WordPress Before translating your theme, you’ll need to make sure WordPress is setup correctly with your locale.  Open wp-config.php and modify the line below, or add it if […]

Read full story Comments { 0 }
Page generated in seconds x.xxxx

Page generated in seconds x.xxxx

You’ve probably noticed at some sites a little message, mainly in the page footer, type ‘ Page generated in 0th seconds …. ‘or something similar. Here you can learn how to easily make using PHP microtime() function

Read full story Comments { 0 }