Author : Anas

About the Author:

0 62

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 248

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 239

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