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

    I would love to change the default for this “Apply link to the image” from “link to this Post” to “Open Lightbox when clicked” Is this possible?

    I know I can change it individually for each portfolio item, but would love to make this the default for future portfolio items.

    thanks…jay

    #98667

    Hi,

    Go to includes > admin folder then edit register-admin-metabox.php, find this line of codes

    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'),

    ),

    array(	"name" 	=> "Apply link to the image?",
    "desc" => "",
    "slug" => "media",
    "class" => "av_2columns av_col_1",
    "id" => "slideshow_link",
    "type" => "select",
    "std" => "lightbox",
    "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'),

    ),

    We change std to lightbox. :)

    Regards,

    Ismael

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

The topic ‘Change defaults for "Apply link to the image"’ is closed to new replies.