Okay
  Public Ticket #1255698
Add link to Showcase Slide Category
Closed

Comments

  • Brandon Rottmayer started the conversation

    Hello,

    I would like to have the ability to have the "Showcase Slide Category" section be a clickable link. Is this possible? If so, how would I go about doing that?

    Thanks,
    Brandon.

  •  1,974
    Support replied

    Hi Brandon,

    for which showcase template. Send us the link to the demo page.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Brandon Rottmayer replied

    My apologies, I thought I was in the California thread. But I am using the California theme and I am attaching the portion of the page that I would like to make linkable.

    Thanks for your help!

    Brandon.

  • Brandon Rottmayer replied

    You also asked for the link to the demo page as well.

    http://clapat.ro/themes/california-wordpress/

  •  1,974
    Support replied

    That's fine , the reason I asked is that there are multiple showcase types.

    For this one you need to open

    /sections/carousel_showcase_image_section.php 

    and

    /sections/carousel_showcase_video_section.php 

    and inside

    <div class="ss-cat">

    you can add your link, however I think you need to determine which link for each slide but a slide is a actually determined by its post id.

    Hope it helps

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Brandon Rottmayer replied

    Is there not a way to set up the edit slide option for each showcase slider to add a link similar to the Link URL option? I am attaching a screenshot. So that way, I don't have to go into each of those two PHPs overtime the option changes? I am setting this option as a "Sponsored by" section where the company who sponsors it name will be a clickable link.

    I hope that makes sense.

    Thanks,
    Brandon.

  •  1,974
    Support replied

    Ok, I see, Then you can move

    <div class="ss-cat"><?php echo wp_kses_post( $california_slide_category ); ?></div>

    up one row above the </a> tag

    so that will be included in the link

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Brandon Rottmayer replied

    OK, that makes sense. But, I was actually referring to two separate links. The main header, Lucky Lady, goes to luckylady.html, but Web Design goes to web design.html.

    Thanks,
    Brandon.

  •  1,974
    Support replied

    If you need to use a different link for the category, you need to define an extra option in slide options and make the modif accordingly in the file, but that is a bit of custom work.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Brandon Rottmayer replied

    OK. Thank you.

    Within the support realm, how much are you able to help in providing the starting point in achieving what I would like to accomplish?

    Thanks,
    Brandon.

  •  1,974
    Support replied

    Sure the idea is to define a new 'link url' field in /include/metabox-config.php

    and then get the value with a call of california_get_post_meta using the field id

    and the output the link as for the slide title. You can follow the existing code as an example.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Brandon Rottmayer replied

    Great! I did it and then broke the site LOL. But after determination, I was able to set it up! And it works like a beauty! Thank you for your help!

    Brandon.

  •  1,974
    Support replied

    Excellent!

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy