Do you have troubles uploading and installing a WordPress theme you purchased from ThemeForest?
The folks at ThemeForest were nice enough to provide a video tutorial resolving an issues some people have been having uploading themes they purchased from ThemeForest, here’s the video tutorial page…
How Can I Setup Multiple Portfolio Pages/Sections?
The Business Success theme for WordPress is setup by default to have only one Portfolio Section with many subcategories as seen in the demo. However, it is possible to setup the theme to support more than one Portfolio pages but it will require a little modification of the code. Please follow the instructions below closely.
First structure your multiple Portfolio Categories from the WP backend Posts—> Categories in the following fashion, use your own names for Categories of course, this is just an example:
Portfolio 1 (Take note of this category ID, which is the parent category)
- Category 1 (those are actually sub-categories or children categories to Portfolio 1)
- Category 2
- Category 3
Portfolio 2 (Take note of this category ID, which is the parent category)
- Category 1 (those are actually sub-categories or children categories to Portfolio 2)
- Category 2
- Category 3
You would need to match now a page with a portfolio. By ‘page’ here, I mean the page(s) that you assigned the Portfolio page Template to.
To continue now you’ll need to change 3 lines of code in the ‘page-Portfolio.php’ file around line # 12:
BEFORE :$portfolio_cat_ID = $b_success_options['portfolio_cat'];// Get the portfolio category you specified in the 'B. Success Options' pageAFTER :
if ( $page_id == 197 ) { //put the page ID that you assigned the portfolio template to (replace 197 with your page ID)
$portfolio_cat_ID = 18; // Put your new category ID that will be matched with the page id in the if statement (replace 18 with your cat. ID)
} else {
$portfolio_cat_ID = $b_success_options['portfolio_cat'];// Portfolio category specified by you in the 'B. Success Options' page (the default Portfolio)
}
you see, if you use this approach, you could have multiple if-else statements and have this work for many Portfolio pages, for more than 2 Portfolio page use ‘elseif (..)’ like:
if ( $page_id == ... ) {
...
} elseif ( $page_id == ... ) {
...
} elseif ( $page_id == ... ) {
...
} elseif ( $page_id == ... ) {
...
} else {
...
}
The 3D slider is missing on the home page, what’s wrong?
In the backend go to Settings->Reading->Front page displays and make sure that Your latest posts radio button is selected. This is the default configuration of WordPress.
How do I update to the latest version of the theme without undoing all my work in the previous version?
Download the latest version of the theme from your ThemeForest account, login and then click on “Downloads”.
Always backup your site and database before performing an update.
Now, assuming that you haven’t modified any of the theme’s files, you can simply drag and drop in your FTP client the latest unzipped version over the old one to overwrite the files. That way if you have uploaded any images under sliders, etc. they will not be deleted.
Now if you have modified files like CSS or some php files and you haven’t kept track of your changes then you can use some ‘diff’ tools to compare the two versions’ files and folders. That way you’d know exactly what files to update and where line by line. Otherwise you’ll loose your customizations. A couple of compare tools are ‘Beyond Compare’ (http://www.scootersoftware.com/) for PC and Changes (http://connectedflow.com/changes/) for MAC that even allow you to merge the changes into yours.
After the update you will have to go to the “B. Success” options page in the backend and Save the options to refresh the slider’s settings.


415 Purchases
191 Comments