Our Blog

0 511

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 function. Read more
0 2097

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 607

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 2241

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