Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18147

    Hi,

    I’d like to change the default settings of the slideshow. Right now it’s set to “link to this post” (I want “no link”) and the size in the options is by default set to “adjustable” – should be fullscreen.

    Where can this be changed?

    Thanks & regards

    katharina

    #98398

    Hi katharina,

    You’ll need to edit includes>admin>register-admin-metabox.php and where each of those options has the “std” in the array, change the option to what you’d like. This way you can also change the description as well.

    Specifically on line 156 for the default link value (self to no value) and the slideshow default size on single entries is line 71 (small to big).

    Regards,

    Devin

    #98399

    Thanks for your assistance.

    The change line 156 works fine – but the change on line 71 is ignored. I changed std from “small” to “big” – no effect at all.

    And as this is the only line where these settings are fixed, I don’t know how to get over this.

    Regards,

    Katharina

    #98400

    Hi,

    Try to find this whole code

    array(
    "name" => "Slideshow Size on single entries?",
    "desc" => "Display the slideshow fixed fullwidth or should it adjust to the page layout (eg smaller on pages with sidebar)" ,
    "id" => "_slideshow_position",
    "type" => "select",
    "std" => "small",
    "slug" => "slideshow_meta",
    "class" => "av_2columns av_col_2",
    "no_first" => true,
    "subtype" => array('Full Width Slider'=>'big', 'Adjustable Slider'=>'small'))

    Replace it with this

    array(
    "name" => "Slideshow Size on single entries?",
    "desc" => "Display the slideshow fixed fullwidth or should it adjust to the page layout (eg smaller on pages with sidebar)" ,
    "id" => "_slideshow_position",
    "type" => "select",
    "std" => "big",
    "slug" => "slideshow_meta",
    "class" => "av_2columns av_col_2",
    "no_first" => true,
    "subtype" => array('Full Width Slider'=>'big', 'Adjustable Slider'=>'adjustable'))

    I rename small to adjustable then change std to big.

    Regards,

    Ismael

    #98401

    Hi Ismael – like most of the cases: once you see the solution you wonder why you didn’t come up with it yourself…

    Thanks a lot, works fine.

    Best regards Katharina

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

The topic ‘Change Slideshow default settings’ is closed to new replies.