Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20151

    Hi,

    I’ve been using my theme to mostly post slideshows, but it always defaults to “Link to Post” after adding it. Can I change this default to “No Link” or something else? Thanks.

    #106483

    Hi,

    Open includes > admin > register-admin-metabox.php then find this code

    array(	"name" 	=> "Apply link to the image?",
    "desc" => "",
    "slug" => "media",
    "class" => "av_2columns av_col_1",
    "id" => "slideshow_link",
    "type" => "select",
    "std" => "self",
    "no_first" => "true",
    "subtype" => array('No link'=>'','Open Lightbox when clicked'=>'lightbox','Link to this Post'=>'self','Link to Page'=>'page','Link to Category'=>'cat','Link manually'=>'url'),

    Replace it with

    array(	"name" 	=> "Apply link to the image?",
    "desc" => "",
    "slug" => "media",
    "class" => "av_2columns av_col_1",
    "id" => "slideshow_link",
    "type" => "select",
    "std" => "nolink",
    "no_first" => "true",
    "subtype" => array('No link'=>'nolink','Open Lightbox when clicked'=>'lightbox','Link to this Post'=>'self','Link to Page'=>'page','Link to Category'=>'cat','Link manually'=>'url'),

    Regards,

    Ismael

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

The topic ‘Slideshow Apply link to the image Option’ is closed to new replies.