To insert code use <code>...</code>.
Portfolio's
  • I am having a problem creating a simple portfolio even after reading the documentation and numerious answers to previous questions.

    1. I know how to create a page with the shortcodes which displays the featured image of the portfolio. However if you click the image it open up a lightbox rather than go to the portfolio page.

    2. If I click the read more it goes to the portfolio page but displays no images. I have set the type to gallery or image and still nothing. Do I have to add the shortcodes to the portfolio page or how do you add the images to the portfolio page.

    3. Finally how do I know I am on the latest version of the striking theme, I think I should be as I only purchased and downloaded it yesterday.

    Apologies if I am being thick as I am relatively new to wordpress.

    Many thanks for your help in advance.
  • 20 Comments sorted by
  • Hi sharksguts,

    For the questions,

    1) If you want the image link to the portfolio page, you can set portfolio type to 'document'.

    image

    2) For featured image in portfolio item page, you can go to 'striking'->'portfolio' option page to enable 'Featured Image'.

    image

    3) You can go to 'Appearance'->'Themes' option page to see the version of the theme.

    Regards,
    KaptinLin
    portfolio_document.png
    233 x 177 - 6K
    featured.png
    355 x 123 - 5K
  • Thanks you answerd most of my questions but think I didn't explain my second question very well but have now answered it myself but just in case someone else is having a problem.

    To create a portfolio page of images you have to insert a gallery.

    Goto Portfolio where it say's Upload/Insert click the add image

    Then click the gallery tab

    Insert Gallery

    My only nect question is

    How can I get the Title and Description's displayed in the gallery?
    (Lightbox works great :-)
  • Hi,

    You can unzip the file to 'striking/framework/shortcodes' folder.

    Then using [gallery link="file" caption="true"]

    It will show the caption of the image.

    Regards,
    KaptinLin
    gallery.zip
    2K
  • Sorry, figured it out so removed question!
  • Thanks captions work great.

    Rgeards

    Richard
  • Hi,

    When using a portfolio widget, is there a way to get the captions to show up?

    Thanks
  • Hi studavidson,

    Which portfolio widget? Do you mean portfolio shortcode? Maybe you can look at http://kaptinlin.com/support/discussion/489

    Regards,
    KaptinLin
  • Ok thanks Kaptin, that shows the title of the portfolio, but is there a way of showing the image caption or description in the portfolio widget?
  • Hi studavidson,

    You can replace line 210 of 'striking/framework/shortcodes/portfolios.php' with the code below

    $output .= '<a class="image_icon_'.$icon.$lightbox.'" '.(isset($link_target)?'target="'.$link_target.'" ':'').' title="'. get_the_title(get_post_thumbnail_id(get_the_id())) .'" href="' . $href . '"'.$rel.$width.$height.'>';

    Regards,
    KaptinLin
  • Hi Kaptinlin,

    Thankyou, that works for the first photo in the portfolio - it displays the image title, but the rest of the pictures ignore the title and use the portfolio name. Any ideas how I can get the rest of the images to show the title?

    Stu
  • Hi Stu,

    I got it.

    You can also replace the line 248 of 'striking/framework/shortcodes/portfolios.php' with the code below

    $output .= '<a title="'.get_the_title(get_post_thumbnail_id(get_the_id())).'" class="lightbox" href="'.$image_src[0].'" rel="'.(($group=='true')?$rel_group:'gallery-'.get_the_ID()).'">gallery-'.get_the_ID().'</a>';

    Regards,
    KaptinLin
  • Hi Kaptinlin,

    Thank you, but now the description of the first picture is used under all the images, and I want each images to have it's own description or caption. Thanks for the help so far.

    Stu
  • I'm with Stu, I'm trying to figure this one out, but can't get it to work.
  • Hi there,

    For the different caption, learn from http://kaptinlin.com/support/discussion/comment/2828/#Comment_2828

    Regards,
    KaptinLin
  • I'm getting the same as studavidson and jamarwright - it does now use the image title for the lightbox title, but it uses the title of the first image in the Gallery for all images.
  • Hi glenn,

    Can you give me your page link?

    Regards,
    KaptinLin
  • Hi Kaptin, I think we're sorted now - you emailed me an updated portfolios.php which seems to have fixed it. My URL is www.glennbroadway.com just in case.

    Stu, Jamar, let me know if you need a copy of the file - I suspect an update to Striking will be posted to Themeforest very soon.
  • Hello KaptinLin,

    Does the new version of Striking includes the new portfolios.php in order to achieve what is written above?

    Thank you,
    Costin
  • Hi costin,

    Yes, Portfolio have a new shortcode attribute(lightboxTitle) for it.

    Regards,
    KaptinLin
  • I am trying to style my portfolio post's HTML text. What is advanced description? If the option is on, it will add shortcode support for description.
    Shanks, The theme has been fun so far,
    Miche

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion