Category : Wordpress

0 21

The Plugin Generated x Characters of Unexpected Output During Activation

The plugin generated 1616 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.   The most common causes are: 1. A white space before or after the PHP opening or closing tags 2. A file encoded in UTF-8 3. Another issue when something is called at the wrong time, or a call that cannot be resolved without intervention 4. Using the WordPress add_option Read more
0 138

Custom post type next previous post link when order posts by menu_order

There are 2 functions in WordPress to let you display previous and next post links: previous_post_link and next_post_link. In general, they work so well and really save a bunch time when coding a theme. Just need to add this code in theme functions.php file to make it work correctly. https://codex.wordpress.org/Next_and_Previous_Links Get the right prev/next post link when order posts by menu_order Read more
0 164

Easy way to change any word in wordpress by language file

Sometimes we need to change some word in plugins. But should no edit any core file of any plugins. Since plugin automatic update may come next minute and customization will goes out of the box. In this post I’ll try to show you how we can change any words of a plugin using language file. Suppose we need to change all buddypress “group” to “class”. To make this I did the following steps: Create a folder to /wp-content/languages/plugins/ then we Read more
0 430

Domain Mapping without a Plugin

Yes, it works natively without instructions, and here is what you need to know to make it work: recent versions (as of WP 4.x) of WordPress Multisite (fresh installs) have the ability to map your custom domain (e.g. example.com) onto a subsite of your install without the help of a plugin. This should be possible with subdomains and subdirectory type sites ( I have accomplished this with subdomain and not tried with subdirectory myself, so someone may want to confirm Read more
0 1623

How To Fix Gravity Form Tabindex Conflicts

Avoid the annoying issue where tabbing from a field in one form tabs you to a field in another form. This is caused by conflicting tab indexes. This is most common when loading a Gravity Form on a page which is loading a non-GF form (like the WordPress comment form). You’re typing away on your Gravity Form and tab to the next field. Awesome. Except the next field is a completely different form. This snippet sets the starting index of Read more
0 1234

Add sidebar , Sidebar registry, Add new sidebar in wordpres

Just Copy the wp default sidebar and rename with different like sidebar-new.php Open functions.php file add the extra code(bellow) in default function. and your final code will show like this For dynamic you have to change a little code from sidebar-new.php Just change Finally you just include sidebar-new.php file to your selected template. example And enjoy with dynamic site. Read more
0 806

How can I display wordpress post into another CMS

How can I display wordpress post to another site , that is not in wordpress platform ? It is easy to display any part of wordpress content in another platfor site. For example i have do the following to display recent post into magento CMS. Just I create a file name showPost in wordpress index folder. and write the following code in it and this file require form magento site, nothing else. Finally I get the recent five post from Read more