Shortcode options not having any effect Status:

Home Forums Thumbnail Scroller (WP NextGEN Gallery Template) Shortcode options not having any effect

This topic is: resolved

This topic contains 30 replies, has 2 voices, and was last updated by  Oana 3 years, 6 months ago.

Viewing 31 posts - 1 through 31 (of 31 total)

  • Hi there

    I use this in the theme page template

    <?php echo do_shortcode(‘[nggallery id=1 template=dop-thumbnail-scroller width=980 ThumbnailWidth=200 ThumbnailHeight=200 ThumbnailsInfo=label LabelPosition=under LabelAlwaysVisible=true LabelBgColor=0000ff LabelTextColor=ff0000]’); ?>

    The scroller loads ok, using the gallery set by the ID – the labels appear over the image – but none of the label customisation works

    I want the labels below the images and on a blue BG with white text

    can you help ?

    Thanks



    Sorry:

    WP 3.8.1
    Twenty Thirteen
    NextGen Version 2.0.40

    Operating System : Linux (64 Bit)
    Server : Apache/2.2
    Memory usage : 22.97 MByte
    MYSQL Version : 5.1.70-log
    SQL Mode : Not set
    PHP Version : 5.3.20
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 128
    PHP Max Upload Size : 64M
    PHP Max Post Size : 64M
    PCRE Backtracking Limit : 1000000
    PHP Max Script Execute Time : 300s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes

    Graphic Library

    GD Version : bundled (2.0.34 compatible)
    FreeType Support : Yes
    FreeType Linkage : with freetype
    T1Lib Support : Yes
    GIF Read Support : Yes
    GIF Create Support : Yes
    JPEG Support : Yes
    PNG Support : Yes
    WBMP Support : Yes
    XPM Support : Yes
    XBM Support : Yes
    JIS-mapped Japanese Font Support : No



    Oana Support Team #9854

    Hello,

    Please send us a link.

    Thank you.



    http://www.theroyalalex.co.uk/dev/

    can you email me for login ?



    Oana Support Team #9857

    Hello,

    Please send us the admin info in a private reply.

    Thank you.



    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    Oana Support Team #9860

    Please send us the FTP info to check where is the problem.
    Thank you.



    I can provide WP admin user but not FTP access – is that ok?



    Oana Support Team #9865

    More I need FTP info, to solve the problem. If you manage to give me this information would be great.

    Thank you.



    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    anything ?



    Oana Support Team #9872

    Hello,

    I’m sorry for the late response. Please check new.

    Thank you.



    hi there

    you have re styled the labels but I want them under the thumbs

    whats the issue causing the short code parameters not to apply ?



    my template <?php echo do_shortcode(‘[nggallery id=1 template=dop-thumbnail-scroller width=980 ThumbnailWidth=200 ThumbnailHeight=200 ThumbnailsInfo=label LabelPosition=under LabelAlwaysVisible=true LabelBgColor=0000ff LabelTextColor=ff0000]’); ?>

    these arguements are being applied by the addon

    LabelPosition=under
    LabelAlwaysVisible=true



    sorry – those arguments are NOT being applied



    Oana Support Team #9921

    Hello,

    I’m sorry for the late response. The arguments can be written in continuing’s shortcode, just editing this file:
    /wp-content/themes/royal-alex/nggallery/gallery-dop-thumbnail-scroller.php
    This is why it does not apply, and the changes do not occur.

    Thank you.



    Do you mean the shortcodes do not work in the WordPress pages/posts ?

    I have to apply them in the addon theme file ?

    Joe



    Oana Support Team #9965

    Hello Joe,

    The shortcode work perfectly in WordPress pages or post but only in this format:


    without this arguments/options:
    .

    Thank you



    I see – so you are saying, in order to pass shortcode arguements to the addon we have to actually edit the template file ?



    Oana Support Team #9967

    Hi,

    Yes, I did the same thing myself when I change background color.



    I have tried editing the template file just now – editing this line

    “LabelPosition”: “under”, // Label Position (bottom, top, under). Default value: bottom. Set label position.

    in this file

    Alex: gallery-dop-thumbnail-scroller.php

    (nggallery/gallery-dop-thumbnail-scroller.php)

    has had no effect

    label still over thumbnail



    Oana Support Team #9971

    Hi,

    Please send us the admin login info.

    Thank you.



    private

    • This reply was modified 3 years, 6 months ago by  aliferis.


    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    you seem to have broken my template?



    hello



    Oana Support Team #10005

    Hello,

    I’m sorry for your inconvenience. Problem solved. The error occurs because the cache from NextGen. After each change made in the template, save and then go to WP Admin – > Gallery -> Other Options -> Miscellaneous -> Clear image cache , the changes will appear on the site.
    Please check.

    Thank you.



    Thanks – so to clarify everything:

    I cant pass the addon arguements via the shortcode in posts/pages
    I edit the addon template file to modify the arguements listed
    I emoty the nextGen cache to view changes
    All the addon arguements work



    Oana Support Team #10012

    Hello Joe,

    Yes , you understand perfectly. If you have any other questions don’t hesitate to contact us.
    Please don’t forget to rate the item.

    Have a nice day.



    thanks a lot



    Oana Support Team #10023

    Glad I could help.

    Thank you


Viewing 31 posts - 1 through 31 (of 31 total)

The topic Shortcode options not having any effect is closed to new replies.