<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wordpress Archives - Postnidea</title>
	<atom:link href="https://www.postnidea.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.postnidea.com/category/wordpress/</link>
	<description>Programming Blog, Tutorials, jQuery, Ajax, PHP, MySQL and Demos</description>
	<lastBuildDate>Tue, 27 May 2025 09:13:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.8</generator>

<image>
	<url>https://www.postnidea.com/wp-content/uploads/2019/08/favicon.ico</url>
	<title>wordpress Archives - Postnidea</title>
	<link>https://www.postnidea.com/category/wordpress/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>6 tips for optimized and secure WordPress during development</title>
		<link>https://www.postnidea.com/6-tips-for-optimized-and-secure-wordpress-during-development/</link>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Mon, 11 Nov 2019 05:17:36 +0000</pubDate>
				<category><![CDATA[woocommerce]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[Plugin development]]></category>
		<category><![CDATA[wordpress code]]></category>
		<guid isPermaLink="false">https://www.postnidea.com/?p=229</guid>

					<description><![CDATA[<p>WordPress is a very popular CMS. All-around the world most of the sites are built using WordPress. WordPress is available [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/6-tips-for-optimized-and-secure-wordpress-during-development/">6 tips for optimized and secure WordPress during development</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>WordPress is a very popular CMS. All-around the world most of the sites are built using WordPress. WordPress is available for users in two ways. It&#8217;s also usable for the blogger they can be used without any cost. The users need to just sign up on the wordpress.com &amp; start writing a post for the blog. The wordpres.com is responsible for all other challenges like maintenance, uptime &amp; optimization. It also avails a lot of things for users like theme widgets. If you interested more then you go through the <a href="https://wordpress.com/start/user?ref=postnidea">link</a>.</p>
<p>The second option for the user is self-hosted WordPress. In this WordPress provide you setup in zip format so that user can download it. Now the user has good command over the blog or website. He can do everything whichever he wants. The WordPress is hosted on user hosting so the user will responsible for other things like performance, security, SEO &amp; blog uptime.<br />
Today I want to explain some other things so I don&#8217;t want to go in deep knowledge.</p>
<p>Generally, people have the myth WordPress not more secure or you can develop an only simple informational site. But It&#8217;s completely wrong you can develop anything using WordPress &amp; will work securely. WordPress CMS is a gravy of your dish So, it depends upon you how to use if you maintain a WordPress coding standard then definitely your application will generate good revenue. Today I will share some points which should be kept in mind from the phase of development. So after development when you start work for the security &amp; performance then your work effort become decrease. These are very basic things but most of the peoples missed it. I have created a list of these which is below.</p>
<h2>Perfect placement of files.</h2>
<p>when things are placed properly then they make sense otherwise difficult to maintain. So whenever you create a theme or plugin then maintain the proper standard file structure. I have shown you a file structure for the plugin is below.</p>
<p>One more important thing is that always make plugin frontend compatible by using templates &amp; they should be overridable so that easy to use plugin &amp; override frontend without editing plugin. Same thing I also suggest for the theme So that in future if there is an issue in this case if the standard structure is there then easy to any developer debug.</p>
<h2>Naming convention &amp; declaration of variable, constant</h2>
<p>In programming, the naming convention very important, especially in WordPress, try to define the unique name of the variable, constant &amp; class so there is less chance to conflict with other plugins. The variable value used recursively then it should define in the starting lines. Because some time value fills in the variable from the database or some other where if we not define then it always triggers database query or procedure. The name of the variable &amp; constant should be meaning full so that easy to code review.</p>
<h2>Maximum use of WordPress core things</h2>
<p>The peoples are used the opensource because most of the things already built in it. The open-source provides a collection of hooks, filters &amp; methods we need to use them. The benefit of using them is that if the upgrade or maintain anything in these then your functionality never breaks &amp; you will also not need to eject the latest changes in our functionality. If you use inbuilt functions again and again then your development speed also increases because after a certain time you will grasp up maximum functions.</p>
<h2>wp-config usage</h2>
<p>The wp-config.php is the main configuration file for the WordPress in which all settings like DB &amp; constant defined in it. It gets all details from a wp-config.php file like database, salt keys, cache, debug, etc. So always use the defined constant, sometimes peoples defined error display enable/ disable using functions.php which wrong practice. So bad practice of code always consumes more time during maintenance or enhancements.</p>
<h2>Proper versioning</h2>
<p>Version controlling is the process by which we identify a change chain log. It will greatly help in issue debug. So whenever you add major changes in the plugin then the version of the plugin should be updated. Always use the updated plugin because of sometimes plugin developer done the major things related to security if you miss that update then you will eject security threat in the application.</p>
<h2>Proper security during code</h2>
<p>During the coding, security should be very important otherwise your application is not beneficial for the user because the hacker can easily break it. So always use the input sanitization. For sanitization, WordPress provides lots of functions which is already available. During the installation of WordPress setup change the salt keys, Database prefix should be changed from the default which will add one more step towards the security.</p>
<h2>proper understanding of the functions (fastest &amp; best function)</h2>
<p>In WordPress for a certain task available multiple hooks &amp; functions so review the function properly &amp; try to understand the code of function then use the most efficient appropriate function instead of any function.</p>
<h2>Avoid modifying core, plugin, parent them</h2>
<p>In any opensource, if you changed the core files then you simply break the updates or functionality. Another most important thing is that whenever you get a new update then your customization becomes goes. So always try to implement our requirement in the child theme or our theme so that no need to customize core.</p>
<h2>Not Checking If a Plugin Is Active</h2>
<p>If your code dependent on the certain plugin of class then always implement the checks so that if the dependent thing is not available then, in that case, your functionality or plugin can&#8217;t be a break. You can apply plugin checks using the below code.<br />
if ( is_plugin_active( &#8216;plugin-folder/plugin-main-file.php&#8217; ) ) {<br />
// Run plugin code<br />
}<br />
In the same way, you should also need to apply the function, class checks.</p>
<h2>Loading Too Many Resources</h2>
<p>Never load CSS and js in head or footer directly because it&#8217;s bad practice. Sometimes I have seen that people add the jquery library, juqrey-ui library or other libraries (default) which is standard and already available in the core then why people are used. Always add CSS &amp; js using below functions which standard. Always try to use standard functions for these tasks which are below.</p>
<h2>Keeping the Admin Bar</h2>
<p>During the initial time, I disabled the admin bar for checking responsive &amp; other things. But it&#8217;s bad practice it will lose the user experience. So always keep the admin-bar visible so that end-user can perform default functions like editing, view navigate dashboard easily.</p>
<h2>Not Utilizing the GetText Filter[translatable]</h2>
<p>Different people have different region but they want to taste your recipe (themes, plugin). But translation is not available to our audience that is the biggest problem. If such type of issue present then your plugin or theme will not use more. So always create textdomain &amp; load at the time of theme or plugin load so that your stuff becomes translatable. The WordPress translate plugin like loco translate, wpml both, is used the textdomain &amp; translate your stuff in the user language.</p>
<p>The things which I know &amp; faced I have to explain to you. I think if you follow these things your application has good performance &amp; secured. If you do the above things then at the time security &amp; performance optimization you will save a lot of time. If you have more things about the above then you can share it with us. I always welcome suggestions &amp; feedback.</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/6-tips-for-optimized-and-secure-wordpress-during-development/">6 tips for optimized and secure WordPress during development</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Top 10 WordPress plugin make development faster</title>
		<link>https://www.postnidea.com/top-10-wordpress-plugin-make-development-faster/</link>
					<comments>https://www.postnidea.com/top-10-wordpress-plugin-make-development-faster/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Sun, 25 Mar 2018 17:21:00 +0000</pubDate>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[woocommerce]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Plugin development]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://www.postnidea.com/top-10-wordpress-plugin-make-development-faster/</guid>

					<description><![CDATA[<p>Most of time designer &#38; developer both are working on the WordPress projects. But if the designer has a little [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/top-10-wordpress-plugin-make-development-faster/">Top 10 WordPress plugin make development faster</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;">
<p>Most of time designer &amp; developer both are working on the WordPress projects. But if the designer has a little bit knowledge of PHP &amp; WordPress basics then he can also complete project itself. In that case, an organization can save the developer efforts &amp; the saved efforts can utilize on urgent tasks. Now today I have shown you few WordPress plugins can make your WordPress development faster.</p>
<p>Few important things need to do to start WordPress project.<br />
&#8211; When you start WordPress installation then always use a unique prefix for the WordPress database table.<br />
&#8211; Always set our custom keys<br />
&#8211; Whenever you customize MySQL query then always use $wpdb-&gt;prefix.</p>
<h2>1. Visual Composer</h2>
<p>It&#8217;s paid plugin but it has most important features. A normal user can also design our website without the need of a designer. It&#8217;s already have so many shortcodes like the post, taxonomy, slider, apply CSS properties. There is a problem it saves page content in the database. So there is need to make changes very care full. Always need to enable page revision.</p>
<p><a href="https://visualcomposer.io/" target="_blank" rel="noopener noreferrer"> More Info </a></p>
<h2>2. contact form 7 or gravity form</h2>
<p>Forms are common parts of the web application. Contact form 7 &amp; gravity form are two plugins that will helps the user in creating form. Contact Form 7 is a popular free plugin most of WordPress website use contact form 7. Gravity form has extra features due to these features it&#8217;s paid. In Both form plugin, you can integrate our custom HTML<br />
<a href="https://wordpress.org/plugins/contact-form-7/" target="_blank" rel="noopener noreferrer"> More Info </a><a href="https://www.gravityforms.com/" target="_blank" rel="noopener noreferrer"> More Info </a></p>
<h2>3. woocommerce</h2>
<p>E-commerce &amp; blog a normal requirement of client every client. WordPress already have blog functionality. But not have e-commerce functionality. So, for implement e-commerce, there is need to add another plugin. So, woocommerce is a plugin that enables e-commerce functionality. It&#8217;s very old plugin so it has a huge amount of support.</p>
<p><a href="https://wordpress.org/plugins/woocommerce/" target="_blank" rel="noopener noreferrer"> More Info </a></p>
<h2>4. Yoast SEO</h2>
<p>Once the website is complete then marketing of a website is very important. If the website can&#8217;t generate the revenue and customer then it&#8217;s not beneficial. For search engine optimization purpose on page optimization very important. It will help in SEO. Yoast SEO plugin which enables the SEO features on your WordPress project.</p>
<p><a href="https://wordpress.org/plugins/wordpress-seo/" target="_blank" rel="noopener noreferrer"> More Info </a></p>
<h2>5. Custom Post Type Maker<br />
<b></b></h2>
<p>When you start the custom application in WordPress then always a requirement of a custom post like a portfolio, team, etc. So &#8220;Custom Post Type Maker&#8221; plugin which helps to create custom post type &amp; taxonomy.</p>
<h2><a href="https://wordpress.org/plugins/custom-post-type-ui/" target="_blank" rel="noopener noreferrer"> More Info</a> <a href="https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator" target="_blank" rel="noopener noreferrer">More Info</a><br />
<b><br />
</b>6. advanced custom field</h2>
<p>It&#8217;s the plugin which extends you custom post functionality. With the help of them, you can create the meta fields, repeater fields. It provides an easy interface so that non-developer user can also extend the project functionality.<br />
<a href="https://wordpress.org/plugins/advanced-custom-fields/" target="_blank" rel="noopener noreferrer"> More Info </a></p>
<h2>7. Fast cache</h2>
<p>It will help in the performance of your WordPress project. It enables cache on your project so that most of the pages serve for the customer from the cache so, that your server or hosting resource become save. In short, you can get great performance with short of resources. If you can afford paid version then you can get the CDN &amp; database optimization &amp; cache features.</p>
<p><a href="https://wordpress.org/plugins/wp-fastest-cache/" target="_blank" rel="noopener noreferrer"> More Info</a></p>
<h2>8. wp security</h2>
<p>Once your website is ready &amp; running in live mode or real world then security is very important. If your website down for a day then it&#8217;s a retarded lot of revenue even left bad impressions on the visitors. wp security plugin which provides the various types of security like file security, database security, login lockdown session exploiting &amp; many more.</p>
<h2><a href="https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/" target="_blank" rel="noopener noreferrer"> More Info</a><br />
<b><br />
</b>9. migrate DB</h2>
<p>It&#8217;s common plugin used by most of the developer&#8217;s because when you try to replicate current working website on our local then it provides you database according to your local URL. Mainly it helps in replacement of the URLs. So that you set up website locally faster.</p>
<p><a href="https://wordpress.org/plugins/wp-migrate-db/" target="_blank" rel="noopener noreferrer"> More Info</a></p>
<h2>10. qTranslate X or WPML</h2>
<p>If your website is multi-language then above both plugin great helps in translating. You can provide the translation for each language so that it will show the translated string for your user according to their locality.</p>
<p><a href="https://wordpress.org/plugins/qtranslate-x/" target="_blank" rel="noopener noreferrer"> More Info</a></p>
<h2>11. BuddyPress</h2>
<p>It helps to create networking website. Its provide a great feature of social networking website like activity, share, groups, pages &amp; create connections between each other. You can also extend their functionality by overriding theme or plugin.</p>
<p><a href="https://wordpress.org/plugins/buddypress/" target="_blank" rel="noopener noreferrer"> More Info</a></p>
<div style="clear: both; text-align: center;"></div>
</div>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/top-10-wordpress-plugin-make-development-faster/">Top 10 WordPress plugin make development faster</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/top-10-wordpress-plugin-make-development-faster/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>wp_editor implement using javascript on dynamic multiple textarea</title>
		<link>https://www.postnidea.com/wp_editor-implement-using-javascript-on-dynamic-multiple-textarea/</link>
					<comments>https://www.postnidea.com/wp_editor-implement-using-javascript-on-dynamic-multiple-textarea/#comments</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Sat, 16 Sep 2017 12:28:00 +0000</pubDate>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp_editor]]></category>
		<category><![CDATA[tinymce editor]]></category>
		<category><![CDATA[wpeditor implement]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[<p>WordPress provide extendability in our functionality. Due to this developer have the flexibility to modify it according to client requirement. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/wp_editor-implement-using-javascript-on-dynamic-multiple-textarea/">wp_editor implement using javascript on dynamic multiple textarea</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;">
<p>WordPress provide extendability in our functionality. Due to this developer have the flexibility to modify it according to client requirement. Sometimes if you want to provide good user interface using WordPress component like editor, media. A Very common using component is WordPress editor. Whenever developer has task to provide HTML formatted text area. In that situation developer always use existing component like wp_editor. Its good &amp; easily implemented. One advantage also there when the WordPress update same time it will also update.</p>
<p>You can easily apply the editor on the text editor using below example.</p>
<pre><code>&lt;textarea id="about_us"&gt;&lt;/textarea&gt;</code></pre>
<p>Add code in our plugin or functions.php</p>
<pre><code>
&lt;?php wp_editor( "loaded content", "place your editor id without #", "setting array"); ?&gt;
&lt;?php wp_editor( $content, $editor_id, $settings = array() ); ?&gt;
</code></pre>
<p>With the help of above code, you can populate the WordPress editor in the text area. But Its better for single and static textarea. But if you have multiple textarea then need to write to code for each textarea. So the code will increases. But the code review perspective code should be minimum for the requirement. It also fails when you have dynamic text area created using the jQuery. In that situation, it&#8217;s not loaded. So there is a need such an API that provides the generate the wp_editor using javascript.</p>
<p>Now for removing above issue WordPress release a new version of editor API. With the help of that, you load wp_editor using javascript. Due to this developer can load the editor using javascript. It&#8217;s very easy to load wp_editor on the text area with the usage of below steps.</p>
<p>First of all, need to enqueue the editor in the functions.php or plugin file like below</p>
<pre><code>
&lt;?php wp_enqueue_editor(); ?&gt;
</code></pre>
<p>It load the all js files related to wp_editor. Now you can load the editor in our js file where ever you want. New release provide the below functions.</p>
<pre><code>
    wp.editor.initialize();
    wp.editor.remove();
    wp.editor.getContent();
</code></pre>
<p>You can review code of new release and modify our js according to it.</p>
<div class="ast-oembed-container " style="height: 100%;">
<blockquote class="wp-embedded-content" data-secret="SVA0k3uwIp"><p><a href="https://make.wordpress.org/core/2017/05/23/addition-of-tinymce-to-the-text-widget/">Addition of TinyMCE to the Text Widget</a></p></blockquote>
<p><iframe title="&#8220;Addition of TinyMCE to the Text Widget&#8221; &#8212; Make WordPress Core" class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://make.wordpress.org/core/2017/05/23/addition-of-tinymce-to-the-text-widget/embed/#?secret=SVA0k3uwIp" data-secret="SVA0k3uwIp" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>
<div class="ast-oembed-container " style="height: 100%;">
<blockquote class="wp-embedded-content" data-secret="bP47Ps2DU9"><p><a href="https://make.wordpress.org/core/2017/05/20/editor-api-changes-in-4-8/">Editor API changes in 4.8</a></p></blockquote>
<p><iframe title="&#8220;Editor API changes in 4.8&#8221; &#8212; Make WordPress Core" class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://make.wordpress.org/core/2017/05/20/editor-api-changes-in-4-8/embed/#?secret=bP47Ps2DU9" data-secret="bP47Ps2DU9" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>
<p>(See wp-admin/js/editor.js for more info.)</p>
<p>Now the developer has more flexibility to add wp_editor on dynamically generated textarea. Due to this, you can create page builder like functionality. Due to this feature WordPress also add the editor in the widget section in the latest release.</p>
</div>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/wp_editor-implement-using-javascript-on-dynamic-multiple-textarea/">wp_editor implement using javascript on dynamic multiple textarea</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/wp_editor-implement-using-javascript-on-dynamic-multiple-textarea/feed/</wfw:commentRss>
			<slash:comments>24</slash:comments>
		
		
			</item>
		<item>
		<title>wordpress posts validation using ajax in backend</title>
		<link>https://www.postnidea.com/wordpress-posts-validation-using-ajax-in-backend/</link>
					<comments>https://www.postnidea.com/wordpress-posts-validation-using-ajax-in-backend/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Tue, 01 Aug 2017 02:57:00 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress contextual help]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[ajax validation]]></category>
		<category><![CDATA[post ajax validation]]></category>
		<category><![CDATA[wordpess post validation]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[<p>In WordPress already so many hooks &#38; filter available with the help of that you can customize the wordpress according [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/wordpress-posts-validation-using-ajax-in-backend/">wordpress posts validation using ajax in backend</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;">
<p>In WordPress already so many hooks &amp; filter available with the help of that you can customize the wordpress according to our needs. But there are some customizations that are required more tricky solutions. For handling ajax request WordPress already define our rules &amp; standards but sometimes there is a need to performing ajax request on the default page saving. For the javascript WordPress uses js enqueue<br />
function with the help of you can attach javascript files &amp; functions. For creating ajax request action WordPress uses two below functions</p>
<p>When you calling the actions publically the use the below functions. There is no need requirement of the login.<br />
admin_post_nopriv_{action_name}<br />
If you want action to execute only when the user login.<br />
admin_post_{action_name}</p>
<p>If you want to call an action on login or without login then use both functions. Now I show you how to call the action in our Ajax request.<br />
http://your_host/admin-ajax.php<br />
On above URL you can pass the action: name using a post or get request then execution of the action occurs. But some problem comes due to customization then there is a need a tricky solution. You can see the below problem.</p>
<p>Problem:</p>
<p>We need to add some extra fields (custom fields) on WordPress backend page. When a user clicks on &#8220;publish&#8221; button then we call the API &amp; values fill with the response from the API then we submit WordPress page form. We implemented all but page always goes to Draft.</p>
<p>Solution:<br />
In a below code post status select box I have check if there is user select &#8220;Draft&#8221; I set the draft otherwise we put the status the publish so that we have to fix that problem. The above-explained things done by function &#8220;check_status&#8221;.</p>
<pre><code>
$("#publish:button").click(function(){
	$.get("url").done(function(data){
		if(check_status()){} else{
		$("#acf-field-region").after("");
		}

		$(document).find("#publish").prop("type", "submit");
		setTimeout(function(){

		$("#post").submit();

		},100);

		return false;
	})
	event.preventDefault();
});
</code></pre>
<pre><code>
function check_status(){
	var status=0;
	jQuery("#post_status option").each(function(){
		if(jQuery(this).val()=="publish"){
			status=1;
		}
	});
	return status;
}
</code></pre>
</div>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/wordpress-posts-validation-using-ajax-in-backend/">wordpress posts validation using ajax in backend</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/wordpress-posts-validation-using-ajax-in-backend/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Product documentation : with use of wordpress contextual help</title>
		<link>https://www.postnidea.com/product-documentation-with-use-of-wordpress-contextual-help/</link>
					<comments>https://www.postnidea.com/product-documentation-with-use-of-wordpress-contextual-help/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Sun, 12 Feb 2017 16:51:00 +0000</pubDate>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[product documentation]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress contextual help]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[Plugin development]]></category>
		<category><![CDATA[WordPress contextual help]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[<p>For any product, document ion is very important. When you develop a product then only you know how its work [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/product-documentation-with-use-of-wordpress-contextual-help/">Product documentation : with use of wordpress contextual help</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;">
<p>For any product, document ion is very important. When you develop a product then only you know how its work &amp; how to use. But if someone new person tries to use then he can&#8217;t use it so, in that case, your product useless for the user. So whenever you develop any product there is need to create a proper documentation. The documentation should cover below points.</p>
<h2>About product</h2>
<p>In this section describe our product completely like &#8220;about product&#8221;, &#8220;Why you made it&#8221;. If you develop something new product then there is no need to a comparison. If some product already exists then there is a need for comparison so that user can compare it. If a user uses an already product and your product have something new and better than user remve/uninstall our product &amp; try your, In that situation, if your product works better than user always use your product if he fails then he use our existing product. So there more important to include about a product, advantage, disadvantage last but not least comparison.</p>
<h2>How to use it</h2>
<p>It&#8217;s very important section so it&#8217;s documented very carefully. There is need to clarify more clearly so that user can easily understand. There is a need for more graphics &amp; text so that user have a clear idea. If your product is digital then nowadays different platforms like youtube, SlideShare, GitHub can help you. This platform provide you an area in which you show graphics, picture &amp; animation so that product user can easily understand &amp; use it.</p>
<h2>Reviews</h2>
<p>In this section provide the way (review submit form, toll-free number, or any number) through which user can provide the reviews. With the help of reviews, you can improve your product. Because mistakes make perfect so it&#8217;s more important.</p>
<p>I review many plugins of WordPress the author writes very good &amp; usable plugins but they fail only the documentation. Now WordPress provide a help section on top of the screen so take help of that you can provide help text &amp; animation on each page.</p>
<p>start with creating simple, so I write code for creating a plugin which is below</p>
<p>Now the plugin is created but only its shows in the plugin list now there is a need to links on sidebar menu so that user can move on the pages by clicking on that. Now below code add two menus in admin sidebar menu. The below menu also connected with function my_magic_function &amp; my_magic_function1.</p>
<p>Now Menu appears in the sidebar now on click on menu need to redirect on the page now I write a below code which creates the page on which user can redirect.</p>
<p>Now everything gone fine now the small plugin is ready but there is scanty of documentation now below code add the help text in above screen.</p>
<p>Now when you install this plugin in our wordpress set up then you can see the demo. I also attached the youtube video on which you also see the demo.</p>
<p><iframe src="https://www.youtube.com/embed/XFqWsHGMmJg?rel=0&amp;showinfo=0" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>You can also browse the complete code by click on next button<br />
<a class="btn btn-primary btn-blue" href="https://github.com/postnidea/wordpress-Contextual-Help" target="_blank" rel="noopener noreferrer">code</a></p>
</div>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/product-documentation-with-use-of-wordpress-contextual-help/">Product documentation : with use of wordpress contextual help</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/product-documentation-with-use-of-wordpress-contextual-help/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>top ecommerce open source list : how to choose best one</title>
		<link>https://www.postnidea.com/top-ecommerce-open-source-list-how-to-choose-best-one/</link>
					<comments>https://www.postnidea.com/top-ecommerce-open-source-list-how-to-choose-best-one/#comments</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Sat, 11 Feb 2017 16:22:00 +0000</pubDate>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[woocommerce]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://www.postnidea.com/top-ecommerce-open-source-list-how-to-choose-best-one/</guid>

					<description><![CDATA[<p>Nowadays e-commerce stores more popular because every seller wants a store. In e-commerce business scale not matter there is small [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/top-ecommerce-open-source-list-how-to-choose-best-one/">top ecommerce open source list : how to choose best one</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;">
<p style="text-align: justify;">Nowadays e-commerce stores more popular because every seller wants a store. In e-commerce business scale not matter there is small scale business or large scale business. I have seen in every ten customers 2 or 3 customer demand for the online store development. When such type requirement reaches the technical manager then he always thinks how to move towards the development weather develop store using core development or choose an any CMS like Magento, opencart, woocommerce, Magento, oscommerce, cscart, prestashop. If he moves using core development then there is required more time everything made from scratch and most of the time gone in testing. In other hand client started marketing so he wants our product as soon as possible in that case technical manager have pressure so, the only option left to choose any CMS so that I can be completed on time. You can&#8217;t choose any cms without any complete requirement so, before choosing any cms put out the below question towards the client.</p>
<ul>
<li>How many products you want to sell</li>
<li>you have an existing store and want to migrate it or want a fresh store.</li>
<li>If customer have existing store then evaluate their traffic</li>
<li>Try to collect inform regarding store built on which technology like any opensource or core. If it&#8217;s on open source then try to evaluate customization</li>
<li>existing store currently integrated with any android APP or any API</li>
<li>last but not least you want to launch your store on which type hosting is it shared hosting, dedicated hosting or dedicated server.</li>
</ul>
<p>After finding the answer you can review below information which can help you. I describe below important information regarding each CMS.</p>
<h2>Woocommerce</h2>
<p>The base of woo commerce is WordPress so it&#8217;s good for the less number of products. Also, it&#8217;s not more secure if want secure then there is need to add more security measure. It&#8217;s chocked out when a number of user &amp; their visits increases. But there is enhancement is easy because a lot of plugins available that can enhance the functionality. The default woocommerce  full fill most of the requirement but if still required then you can it. Wocoomerece follows class based structure &amp; easily override the template in your theme. Its working fine in all hosting because it handles small e-commerce business.</p>
<h2><b>Opencart</b></h2>
<p style="text-align: justify;">Opencart follows the MVC (model view controller) and another component also maintains language so that you can manage multiple languages just putting the separate files for each language. Its MVC based so there it&#8217;s easy to understand for every programmer. Its maintain the standard like view only contain represent part same model communication with the database so each query will be found in the model.</p>
<p style="text-align: justify;">controller work as routing &amp; execution. For enhancement, there is need programmer. But it&#8217;s more secure &amp; has a capacity to holds a number of products &amp; customers. It&#8217;s working fine with dedicated hosting or dedicated server. On shared hosting, it&#8217;s unable to handle more traffic So it&#8217;s required more resource but with that, it&#8217;s more secure &amp; handles more powerful.</p>
<h2><b>Oscommerce</b></h2>
<p style="text-align: justify;">It&#8217;s oldest e-commerce CMS so its follows core class &amp; function-based structure. It&#8217;s also good but its unable to handle a large number of products. When your products count goes greater than 1000 then its load slowly &amp; take a lot of time rendering data, so visitor can&#8217;t wait to move another one, in that case, you lose it business. Now there latest build they launched the cache version that can enhance but the previous version has the problem. So it&#8217;s also better for the medium scale business. There is one more thing it provides less amount of payment support for new payment &amp; delivery option need to integration.</p>
<h2><b>Prestashop</b></h2>
<p style="text-align: justify;">It&#8217;s used most like CakePHP structure. Its maintain the separate view section, class for database &amp; controller same as above controlling route. One most powerful feature is that it&#8217;s used cookies &amp; cache for maintaining the data on the visitor side. The Prestashop community also provides the module generator so that its easy for a developer for a cretae new module. It also provides most of the payment, delivery social integration inbuilt So there is no more requirement of development. It has a great capacity to handle near about 3000 products &amp; 50,000 customers without consuming a lot of resources. So it&#8217;s better.</p>
<h2><b>Magento</b></h2>
<p style="text-align: justify;">If I talk about the performance it has the same as PrestaShop but it&#8217;s required more resource. But if you used a dedicated server or hosting then it definitely works for you. It follows the Zend framework so there performance better previous one but the problem only is that it consume more resource. But its most powerful for large amount business it handles more number of user &amp; products.</p>
</div>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/top-ecommerce-open-source-list-how-to-choose-best-one/">top ecommerce open source list : how to choose best one</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/top-ecommerce-open-source-list-how-to-choose-best-one/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress template get custom parameter with SEO URL</title>
		<link>https://www.postnidea.com/wordpress-template-get-custom-parameter-with-seo-url/</link>
					<comments>https://www.postnidea.com/wordpress-template-get-custom-parameter-with-seo-url/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Tue, 23 Aug 2016 03:13:00 +0000</pubDate>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[get parameter]]></category>
		<category><![CDATA[SEO friendly URL]]></category>
		<category><![CDATA[wordpress code]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[<p>In wordpress development every developer use the template. Its the great feature that provide by the wordpress so that you [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/wordpress-template-get-custom-parameter-with-seo-url/">WordPress template get custom parameter with SEO URL</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;">
<p style="text-align: justify;">In wordpress development every developer use the template. Its the great feature that provide by the wordpress so that you add the custom design &amp; layout. In the theme development the designer &amp; developer well play with theme template. Various plugin also provide the template functionality so that you can also modify there plugin template also use of the template modification facility.</p>
<p style="text-align: justify;">There is some free &amp; famous plugin like buddypress,woocommerce &amp; ultimate member plugin that provide the template facility. With help of template facility in woocommerce you can modify the product page, product listing page according design. Same case with buddypress there multiple section available. Actually its the social network plugin. There is various sections are there like member profile, activity, message &amp; settings. These section also have same template facility so you can without modification in the plugin you can modify the design of the website.</p>
<p style="text-align: justify;">Now problem came out when you need the get the parameter on the custom template. For example you want create the template for the user profiling. So representing the user profile you need to username or user_id from the URL. With the help of that you can extract the data of the user. With default functionlity of wordpress you cant be get. There is need to custom code. Now i will show you how to access the code.</p>
<p><script src="https://gist.github.com/rakeshkumar125/5c3d30238f06d66eb54b10582a67abb0.js"></script></p>
<p style="text-align: justify;">In above code you have seen function add_query_var() that modify default query_var of the wordpress. Then this function add in hook in below line. Now after that work you have modify the wordpress default query now need to get the parameter in our template so code after that code paste in the template or in the funtions.php with all code. then you will be get the parameter on our template.</p>
</div>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/wordpress-template-get-custom-parameter-with-seo-url/">WordPress template get custom parameter with SEO URL</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/wordpress-template-get-custom-parameter-with-seo-url/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to add css &#038; jquery file in wordpress</title>
		<link>https://www.postnidea.com/how-to-add-css-jquery-file-in-wordpress/</link>
					<comments>https://www.postnidea.com/how-to-add-css-jquery-file-in-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh Kumar]]></dc:creator>
		<pubDate>Tue, 21 Jan 2014 12:22:00 +0000</pubDate>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[enqueue css/js]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wordpress code]]></category>
		<guid isPermaLink="false">http://www.postnidea.com/2014/01/21/how-to-add-css-jquery-file-in-wordpress/</guid>

					<description><![CDATA[<p>The addion of javascript &#38; css to the wordpress theme or plugin it common task. If you envolve in the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/how-to-add-css-jquery-file-in-wordpress/">How to add css &#038; jquery file in wordpress</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The addion of javascript &amp; css to the wordpress theme or plugin it common task. If you envolve in the wordpress development then I hope you were faced regular basis. But question is that how to add these things in the proper manner. I will show you how to add these. Always use the wordpress functions for enqueue css &amp; js.</p>
<p>Below functoin should need to be add on the particular action of wordpress which trigger on very first like init, load, etc. Once it&#8217;s triggered then it will include the css and js function which is included int the function &#8220;function_include_css_js&#8221;.</p>
<pre><code>
add_action( 'wp_enqueue_scripts', 'function_include_css_js');
</code></pre>
<p>Now we need to write the defination of the function &amp; calling the css js file. Please review the below code.</p>
<pre><code>
function function_include_css_js(){

	wp_enqueue_style('unique_css_handle', plugins_url( 'assests/css/your_file.css', __FILE__ ));
    wp_enqueue_script('unique_js_handle', plugins_url( 'assests/js/your_script.js', __FILE__ ),array('jquery'), '2.1');
}
</code></pre>
<p>In above code you can see that I have used the function &#8220;wp_enqueue_style&#8221; for css so that the css file will include in the top of the site. Another function for the javascript. For both function need to use uniuqe handle which use for adding the css/js in the website.</p>
<p>Same way you can also enque the wordpress varaible &amp; values to the javascript varible. I have added the code please review it.</p>
<pre><code>
// Localize the script with new data
$yourVar = array(
	'siteName' =&gt; "Postnidea",
	'author' =&gt; 'Rakesh Kumar'
);
wp_localize_script( 'unique_js_handle', 'your_object', $yourVar);
</code></pre>
<p>In above code you see that I have created a object &#8220;your_object&#8221; with the help of this object you can access all the values. For example if you want access siteName then you can access like that your_object.siteName .</p>
<p>So, I hope my thoughts will help you getting some information regarding &#8220;How to add css &amp; jquery file in wordpress&#8221; topic. if you have any suggestion or mistake please share with us.</p>
<p>The post <a rel="nofollow" href="https://www.postnidea.com/how-to-add-css-jquery-file-in-wordpress/">How to add css &#038; jquery file in wordpress</a> appeared first on <a rel="nofollow" href="https://www.postnidea.com">Postnidea</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.postnidea.com/how-to-add-css-jquery-file-in-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
