How to use internal css in WordPress
One of the way to load CSS in your WordPress plugin. You no need to worry about caching while developing your code and no need to separate one more file.
How to use internal css in WordPress Read More »
One of the way to load CSS in your WordPress plugin. You no need to worry about caching while developing your code and no need to separate one more file.
How to use internal css in WordPress Read More »
It is not difficult to get the name using the build in function from WordPress. You may use this for build your own plugin or list out the related post using the category data from the parent category. Here is the PHP Code that can display out the name of the parent category.
How To Get Parent Category Name In WordPress Read More »
I know it is very annoying when you are going to install a PLUGIN in WordPress. I like the way, one click and install for PLUGINS and THEMES in WordPress. Here is the way that I’m using: Edit your wp-config.php and add the line into it.
How to Solve WordPress asked for FTP credentials Read More »
When you post in WordPress with over 5MB text post, you may receive this error with red color. or you found in your php error log This is because WordPress need more time to execute and process and formatting your post over the maximum execution time. You may use the way below to solve this.
Publishing Failed in WordPress Read More »
I’ve save down the most basic widget code for WordPress, you can copy this to your plugin and modify it to start your first widget. You can save time on this tutorial to help you create wordpress widget from scratch. [code lang=”php”] <?php class example_widget extends WP_Widget { function __construct() { parent::__construct(false, $name = ‘Example
Create WordPress widget template from scratch Read More »
[code lang=”javascript”] node_modules/postcss/lib/lazy-result.js:157 this.processing = new Promise(function (resolve, reject) { ^ ReferenceError: Promise is not defined [/code] When I install the FoundationPress, after I run gulp build I saw this message, this is because the node version problem. the have mention in this post https://github.com/postcss/postcss-nested/issues/30 Solution [code lang=”shell”] vim node_modules/postcss/lib/lazy-result.js [/code] Put this to the
lazy-result.js ReferenceError: Promise is not defined Read More »
Normally if you use varnish or other reverse proxy, you may use other port in wordpress. So you are not able to connect to Jetpack, because to connect Jetpack, you must have port 80 to authorize. It may display the error like this from your Jetpack debugger [code] SELF: Array ( [headers] => Array (
Connect to Jetpack using behind varnish and nginx Read More »
You can add this to your function to enable your short code in widget without pain. [php] add_filter( ‘widget_text’, ‘shortcode_unautop’); add_filter( ‘widget_text’, ‘do_shortcode’); [/php]
Use Shortcodes in WordPress Widget without Plugins Read More »
I’m going to Setup Temporary WordPress Staging Site using same MySQL database. It is very useful for you to develop themes or plugin without affect to your current running sites, and you need to use real data to test it out. Prepare your contents Copy all your current contents from [code lang=”bash”] /var/www/juzhax.com [/code] to
How to Setup Temporary WordPress Staging Site Read More »