WordPress Multisite: How to define a common upload folder for all blogs or subsites

In WordPress multisite, media uploaded from the subsite users are stored to different subdirectories using blog id into uploads folder. But, if you need to save all media files in one folder rather than uploads folder with lots of child folders, then you are in right place. Use the following code into your theme functions.php file if you think your theme won’t be changed. Otherwise, mu-plugins is the best option. [php] 0) { $upload[‘path’] = ABSPATH . ‘wp-content/images’; switch_to_blog(1); $upload[‘url’] = site_url() . ‘/’ . ‘wp-content/images’; restore_current_blog(); $upload[‘subdir’] = “”; $upload[‘basedir’] = $upload[‘path’]; $upload[‘baseurl’] = $upload[‘url’]; } return $upload; } […]

Continue Reading

You may also like

How to add extra field in the wordpress user profile

Hi Folks! Sometimes we need to add extra fields in wordpress user profile page for some more information like website URL, bio or AIM etc. Well, there is an easy solution from admin dashboard if you use BuddyPress. You can add new profile fields from Users > Profile fields. But what if you don’t use BuddyPress? Well, you are still able to add extra fields with some line of codes. You can add those codes in your functions.php in the theme, if you think your theme won’t be changed. Otherwise mu-plugins is the best solution. Let’s jump in the code: […]

Continue Reading

You may also like

FAQ Plugin – The best cheap – WordPress Plugin

This is the best and cheapest FAQ Plugin for WordPress. This plugin provides nice Frequently Asked Questions Page with answers hidden until the question is clicked then the desired answer fades smoothly into view, like accordion. User will have options to add categories, and questions based on those categories. Users can show question from a single category using ShortCodes. They will have control to change theme (among 9 themes), animation speed and custom CSS. How to use: To use this plugin you need to use simple shortcode. To show all FAQ in one page with categories, you will just write […]

Continue Reading

You may also like

Team Bio – Meet the Team – WordPress Plugin

Team Bio/Meet the Team is a WordPress plugin that allows you to easily create and manage your team. You can display single teams as multiple columns, you can also showcase all teams as a filterable isotope gallery including easy social links management. The purpose of this plugin is to allow you to create a “Meet the Team/Partners/Team Bio” page for a website. This plugin makes it easy to create a Team Page to showcase your most important assets. It’s very cheap and easy to use. You can check the “demo” and “how to use” in following video. There are two […]

Continue Reading

You may also like

Meet the team – WordPress Plugin Version 2.0

This is Version 2.0 Meet the Team is a WordPress plugin that allows you to easily create and manage teams. You can display single teams as multiple columns, you can also showcase all teams as a filterable isotope gallery, easy social links management included. The purpose of this plugin is to allow you to create a “Meet the Team/Partners” page for a website. This plugin makes it easy to create a Team Page to showcase your most important assets. It’s very cheap and easy to use. You can check the “demo” and “how to use” in following video. How to […]

Continue Reading

You may also like

An awesome plugin – Meet the team – WordPress Plugin

Meet the Team is a WordPress plugin that allows you to easily create and manage teams. You can display single teams as multiple columns, you can also showcase all teams as a filterable isotope gallery, easy social links management included. The purpose of this plugin is to allow you to create a “Meet the Team/Partners” page for a website. This plugin makes it easy to create a Team Page to showcase your most important assets. It’s very cheap and easy to use. You can check the “demo” and “how to use” in following video. Special thanks to MixItUp. How to […]

Continue Reading

You may also like