Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter John

    (@johnstevenspendleton)

    This is my code as it sits in the Code Block element

    [expand title=’%(%img class=”alignnone size-full wp-image-12515″ src=”https://www.hendrickmanufacturing.com/hendrick/wp-content/uploads/2016/08/Screen-Shot-2016-08-25-at-9.10.44-PM.png” alt=”Screen Shot 2016-08-25 at 9.10.44 PM” width=”157″ height=”48″ /%)%’ trigclass=’highlight’]

    [postslider layout=”posts-with-excerpt” excerpt=”35″ category=”clients” limit=”3″ lightbox=”no” class=”homeGallery” id=””][/postslider]

    [/expand]

    Thread Starter John

    (@johnstevenspendleton)

    Hi, kennyopr,

    I tried that and it did not work. Any other suggestions??

    JP

    Thread Starter John

    (@johnstevenspendleton)

    I am using the AVADA theme

    Thread Starter John

    (@johnstevenspendleton)

    Hi,

    That pretty much did the trick, the Menu button sitll flashes on the left hand side when I click on it.

    https://www.johnpendleton.com

    Any suggestions?

    Thread Starter John

    (@johnstevenspendleton)

    Hey there,

    Is there any way you could please look at this for me? I would really love to get this working. I am putting my site public very soon.

    Thank you!!

    Thread Starter John

    (@johnstevenspendleton)

    Hi checking to see. Any luck with my issue????

    Thread Starter John

    (@johnstevenspendleton)

    Okay let me know if you need to get into my WP admin. I can PM you my info if needed.

    Thank you!

    Thread Starter John

    (@johnstevenspendleton)

    They were of no help to me

    Thread Starter John

    (@johnstevenspendleton)

    Nice tip, thank you!

    Thread Starter John

    (@johnstevenspendleton)

    Ha! please do not be sorry. This worked and I am all set, thank you so much for all of your effort and time!!!!!!!!!

    If you go back to that link you can see my first post that I am creating for my new site. I just need to now figure out where to comment out the “details” button and I will be all set.

    Thanks again

    Thread Starter John

    (@johnstevenspendleton)

    Did I make sense ??

    Thread Starter John

    (@johnstevenspendleton)

    So it still does not seem to be picking up the variable/value from the short code. I updated the Shortcodes.php by adding this: “rel=”prettyPhoto[ $gallery_name ]”> and I added this to the list of arrays: “gallery_name” => “”

    I then updated my site code by adding two buttons to the page to see if I could get prettyPhoto to recognize the two different galleries. But what I am getting is one gallery that is showing the two main images in the different link_url=”” from the shortcode from each button as the gallery in each circumstance. so I am guessing that prettyPhoto is using the [ $gallery_name ] as the gallery identifier, not recognizing it as a variable that it needs to pick up from the shortcode. If you go back to the page link that I gave you before and look at the list view and the first two entries you will see what I mean. My code is below. (I just tested it and I am correct) The second button uses ” $gallery_name ” and it creates a larger gallery. and it does not give a gallery_name=”” in the shortcode.

    [rockthemes_button_prettyPhoto icon_align="left" icon_title="View Larger Image" button_size="" button_color="primary" button_flat="no" button_shape="button-rounded" button_wrap="no" link_url="https://www.johnpendleton.com/jpportfolio/wp-content/uploads/2013/10/drag-and-drop-rock-page-builder.jpg" gallery_name="airplane" icon_class="icon-check" icon_url=""]View Larger Image[/rockthemes_button_prettyPhoto]
    
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna05.jpg"></a>
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna06.jpg"></a>
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna07.jpg"></a>
    
    [rockthemes_button_prettyPhoto icon_align="left" icon_title="View Larger Image" button_size="" button_color="primary" button_flat="no" button_shape="button-rounded" button_wrap="no"  link_url="https://www.johnpendleton.com/jpportfolio/wp-content/uploads/2013/10/drag-and-drop-email-contact-form-builder1.jpg" icon_class="icon-check" icon_url=""]View Larger Image[/rockthemes_button_prettyPhoto]
    
    <a rel="prettyPhoto[ $gallery_name ]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna02.jpg"></a>
    <a rel="prettyPhoto[ $gallery_name ]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna03.jpg"></a>
    <a rel="prettyPhoto[ $gallery_name ]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna04.jpg"></a>

    `

    Thread Starter John

    (@johnstevenspendleton)

    So I made some new short code for “prettyphoto” buttons and it works. My only issue I have now is that I need to be able to include a variable in the rel=”prettyPhoto” call. I need to be able to get it so that it looks like this rel=”prettyPhoto[galleryName]” so that when the window pops up it knows which images to call from to show multiple images in the lightbox popup.

    You can look at my old code below. You can see that I was using rel=”prettyPhoto[airplane] to create gallery in the popup.

    <a href="https://www.johnpendleton.com/jpportfolio/wp-content/uploads/2013/10/parallax-background-quasar.jpg" rel="prettyPhoto[airplane]" title="This is the description"><img src=" [rockthemes_button icon_align="left" icon_title="Optional Button" button_size="" button_color="primary" button_flat="no" button_shape="button-rounded" button_wrap="no" link_url=""  icon_class="icon-check" icon_url=""]View Larger Image[/rockthemes_button]" /></a>
    
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna02.jpg"></a>
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna03.jpg"></a>
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna04.jpg"></a>
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna05.jpg"></a>
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna06.jpg"></a>
    <a rel="prettyPhoto[airplane]" href="https://www.johnpendleton.com/portfolio/wp-content/uploads/2013/04/cessna07.jpg"></a>
    Thread Starter John

    (@johnstevenspendleton)

    Just realized that all buttons are looking to launch Prettyphoto now. So none of the other buttons are working. How can we make it so that it has to be defined in the shortcode of the individual buttons for it to activate prettyphoto?

    Thread Starter John

    (@johnstevenspendleton)

    Um that was it? that was so easy. Why the people who created my theme could not have helped me is beyond me. This is my 4th or 5th theme that I have used and these guys give the worst support so far. I would like to thank you for your help and patience. Thank you very very much!

Viewing 15 replies - 1 through 15 (of 21 total)