Old inFocus theme - Portfolio & Gallery issue

pending (10 posts) (3 voices)

  1. WPn00b

    In the old version of inFocus, the portfolio shortcode that shipped with it was:

    [portfolio cat=4 style=full max=8] and I need to show multiple categories in one portfolio. The more recent shortcode documentation says put a comma between, but this doesn't work.

    How do I get multiple categories to list and show?

    Posted 5 years ago #
  2. WPn00b

    Here's an image of how this looks now...

    Posted 5 years ago #
  3. WPn00b

    retry with smaller image

    Posted 5 years ago #
  4. WPn00b

    getting frustrated here... 471 Kb CANNOT be too big. OK - perhaps png is the issue - here's a jpg then.

    Posted 5 years ago #
  5. Elliott

    Hello WPn00b,

    This should be fixed in the latest versions of all themes. What version of inFocus are you using?

    Posted 5 years ago #
  6. WPn00b

    Version 1.3, and it's been modded somewhat at my employer's insistance.

    Posted 5 years ago #
  7. Webtreats

    Hi WPn00b,

    Open up the following file you your server:


    And find the following line:


    It should be around line # 189

    And replace it with:

    $portfolio_cat = explode( ',' , $portfolio_cat );

    Be sure to back up the original file before you make any changes.

    Let us know if this works.

    Posted 5 years ago #
  8. WPn00b

    Thanks, will do.

    Posted 5 years ago #
  9. WPn00b

    Replaced indicated line *[ query_posts("paged=$paged&cat=$portfolio_cat&posts_per_page=$portfolio_max"); ]* in file *lib/includes/template-portfolio-full.php* with two lines shown above
    *[ $portfolio_cat = explode( ',' , $portfolio_cat );
    query_posts("paged=$paged&category__and=$portfolio_cat&posts_per_page=$portfolio_max"); ]*
    and this broke the site. Glad I always backup when monkeying with the php (as suggested above, as well as being good SOP of course!) So that's a non starter.

    Posted 5 years ago #
  10. Webtreats

    Hi WPn00b,

    Private message me with a WordPress admin login & FTP access to your sever and I'll take a closer look at this for you.


    Posted 5 years ago #


You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme