Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @tucsondonpepe – NextGEN Gallery can use extensive shortcodes for displaying galleries, etc. … see this article for some examples and more details: https://imagely.com/docs/nextgen-gallery-shortcodes/

    Do you have something specific in mind when you write “create a shortcode”?

    Thanks!

    – Cais.

    Thread Starter Joseph Lestingi

    (@tucsondonpepe)

    Cais,

    Thanks for the reply. I would like to insert the NextGEN Gallery shortcode in a Headway custom code block. I tried to do that but the gallery did not show.

    Joe

    Plugin Contributor photocrati

    (@photocrati)

    @tucsondonpepe – I am not familiar with the Headway theme architecture to know why that may be the case. Did you see any messages related to NextGEN Gallery when you viewed the “custom code block” in your site’s front-facing views? There may be something in that which may help.

    Thanks!

    – Cais.

    Thread Starter Joseph Lestingi

    (@tucsondonpepe)

    Cais,

    Thanks for referring me to https://imagely.com/docs/nextgen-gallery-shortcodes/.
    I attempted to use [ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_imagebrowser”] in the Custom Code block in HeadwayThemes. I believe it is similar to the text editor mentioned in the above article.

    The following is the code in the Custom Block.
    ==========================================
    <html>
    <head>

    <style>

    p.justify {
    line-height: 1.5;
    text-align: justify;
    font-size: 14px;
    font-family: Verdana;
    padding-top: 10px;
    }

    p.left {
    line-height: 1.5;
    text-align: left;
    font-size: 18px;
    font-family: Verdana;
    padding-top: 10px;
    }

    p.center {
    line-height: 1.5;
    text-align: center;
    font-size: 18px;
    font-family: Verdana;
    }

    </style>

    </head>

    <p class=”left”>New Resident Orientation</p>
    <p class=”center”><iframe style=”width:550px;height:350px” src=”https://s3.amazonaws.com/online.anyflip.com/wyvx/ztly/index.html&#8221; seamless=”seamless” scrolling=”no” frameborder=”0″ allowtransparency=”true” allowfullscreen=”true” ></iframe></p>

    <p class=”left”>Garden Walk – NextGen</p>
    <p class=”center”>
    [ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_imagebrowser”]
    </p
    </html>
    ==========================================

    The following appears in the browser at the bottom of the page.
    https://www.joelestingi.com/dwlp-wordpress/lifestyle/

    Hope you can help find my error.

    Joe

    Plugin Contributor photocrati

    (@photocrati)

    @tucsondonpepe – The only difference I can see making off-hand would be to not use the double-quotes ( ” ) characters as they may be translating into “smart quotes” which can cause issue for any shortcode, especially when not written in the default TinyMCE editor of WordPress. If that does to correct the issue I would suggest trying the shortcode in the standard editor to see if it is directly related to the custom code block.

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘NextGEN Gallery shortcode’ is closed to new replies.