Modificación de la plantilla para poner los valores de 'Theme Options' dentro del código PHP y que no se eliminen al cambiar la URL de la web.
git-svn-id: https://192.168.0.254/svn/Proyectos.Instaldeco_Web/trunk@12 d4ca0941-a869-4c45-9eab-2e1fd2dd58c0
This commit is contained in:
parent
60ec9d44e6
commit
00d9167f73
BIN
src/wp-content/themes/broadside/images/camouflage.png
Normal file
BIN
src/wp-content/themes/broadside/images/camouflage.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
BIN
src/wp-content/themes/broadside/images/logo-instaldeco1.png
Normal file
BIN
src/wp-content/themes/broadside/images/logo-instaldeco1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@ -59,7 +59,7 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "Footer Text",
|
$options[] = array( "name" => "Footer Text",
|
||||||
"desc" => "Add your copyright phrase or any text to be displayed below the footer (e.g. Copyright 2012. Designed by ProgressionStudios)",
|
"desc" => "Add your copyright phrase or any text to be displayed below the footer (e.g. Copyright 2012. Designed by ProgressionStudios)",
|
||||||
"id" => "footer_text",
|
"id" => "footer_text",
|
||||||
"std" => "Copyright © 2011 – MQ – <a href='http://themeforest.net/user/ProgressionStudios?ref=ProgressionStudios' target='_blank'>info@mqarquitects.com</a>",
|
"std" => "Copyright © 2011 – Instaldeco S.L.",
|
||||||
"type" => "textarea");
|
"type" => "textarea");
|
||||||
|
|
||||||
$options[] = array("name" => "Social Settings",
|
$options[] = array("name" => "Social Settings",
|
||||||
@ -113,13 +113,13 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "Logo",
|
$options[] = array( "name" => "Logo",
|
||||||
"desc" => "Use the upload button to upload your site's logo and then click '<strong>Use this image</strong>'. The <strong>Maximum width is 270px</strong>. The navigation menu is 180px wide. Note: You will have to resize your own logo before uploading.",
|
"desc" => "Use the upload button to upload your site's logo and then click '<strong>Use this image</strong>'. The <strong>Maximum width is 270px</strong>. The navigation menu is 180px wide. Note: You will have to resize your own logo before uploading.",
|
||||||
"id" => "logo",
|
"id" => "logo",
|
||||||
"std" => get_template_directory_uri() . "/images/logo.png",
|
"std" => get_template_directory_uri() . "/images/logo-instaldeco1.png",
|
||||||
"type" => "upload");
|
"type" => "upload");
|
||||||
|
|
||||||
$options[] = array( "name" => "Logo Position",
|
$options[] = array( "name" => "Logo Position",
|
||||||
"desc" => "This changes the Logo position to the top or bottom. <strong>Note</strong>: The Navigation position should be set to the opposite.",
|
"desc" => "This changes the Logo position to the top or bottom. <strong>Note</strong>: The Navigation position should be set to the opposite.",
|
||||||
"id" => "logo_position",
|
"id" => "logo_position",
|
||||||
"std" => "top",
|
"std" => "bottom",
|
||||||
"type" => "select",
|
"type" => "select",
|
||||||
"class" => "mini",
|
"class" => "mini",
|
||||||
"options" => array('top' => 'Top', 'bottom' => 'Bottom'));
|
"options" => array('top' => 'Top', 'bottom' => 'Bottom'));
|
||||||
@ -127,7 +127,7 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "Navigation Position",
|
$options[] = array( "name" => "Navigation Position",
|
||||||
"desc" => "This changes the Navigation position to the top or bottom. <strong>Note</strong>: The Logo position should be set to the opposite.",
|
"desc" => "This changes the Navigation position to the top or bottom. <strong>Note</strong>: The Logo position should be set to the opposite.",
|
||||||
"id" => "nav_position",
|
"id" => "nav_position",
|
||||||
"std" => "bottom",
|
"std" => "top",
|
||||||
"type" => "select",
|
"type" => "select",
|
||||||
"class" => "mini",
|
"class" => "mini",
|
||||||
"options" => array('top' => 'Top', 'bottom' => 'Bottom'));
|
"options" => array('top' => 'Top', 'bottom' => 'Bottom'));
|
||||||
@ -141,19 +141,19 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "Default Background (Required)",
|
$options[] = array( "name" => "Default Background (Required)",
|
||||||
"desc" => "This is used for the default background image of your website. It will automatically be resized to fit your browser window. Use the upload button to upload your own background and then click '<strong>Use this image</strong>'. The default image(in case you delete it) should be located at: /wp-content/themes/Broadside/images/background.jpg",
|
"desc" => "This is used for the default background image of your website. It will automatically be resized to fit your browser window. Use the upload button to upload your own background and then click '<strong>Use this image</strong>'. The default image(in case you delete it) should be located at: /wp-content/themes/Broadside/images/background.jpg",
|
||||||
"id" => "default_bg",
|
"id" => "default_bg",
|
||||||
"std" => get_template_directory_uri() . "/images/background.jpg",
|
"std" => get_template_directory_uri() . "/images/camouflage.png",
|
||||||
"type" => "upload");
|
"type" => "upload");
|
||||||
|
|
||||||
$options[] = array( "name" => "Default Content Background (Required)",
|
$options[] = array( "name" => "Default Content Background (Required)",
|
||||||
"desc" => "This is a content background image of your website. It will automatically be resized to fit your content window. Use the upload button to upload your own background and then click '<strong>Use this image</strong>'. The default image(in case you delete it) should be located at: /wp-content/themes/Broadside/images/backgrounds/blog-background.jpg",
|
"desc" => "This is a content background image of your website. It will automatically be resized to fit your content window. Use the upload button to upload your own background and then click '<strong>Use this image</strong>'. The default image(in case you delete it) should be located at: /wp-content/themes/Broadside/images/backgrounds/blog-background.jpg",
|
||||||
"id" => "blog_bg",
|
"id" => "blog_bg",
|
||||||
"std" => get_template_directory_uri() . "/images/backgrounds/blog-background.jpg",
|
"std" => get_template_directory_uri() . "/images/backgrounds/about-background.jpg",
|
||||||
"type" => "upload");
|
"type" => "upload");
|
||||||
|
|
||||||
$options[] = array( "name" => "Site Height",
|
$options[] = array( "name" => "Site Height",
|
||||||
"desc" => "Use this to adjust your site overall height. 'The Space' Live Preview is 600px tall, and 'The Architects' Live Preview is 500px tall. ",
|
"desc" => "Use this to adjust your site overall height. 'The Space' Live Preview is 600px tall, and 'The Architects' Live Preview is 500px tall. ",
|
||||||
"id" => "site_height",
|
"id" => "site_height",
|
||||||
"std" => "500",
|
"std" => "600",
|
||||||
"class" => "mini",
|
"class" => "mini",
|
||||||
"type" => "text");
|
"type" => "text");
|
||||||
|
|
||||||
@ -167,13 +167,13 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "Menu Background",
|
$options[] = array( "name" => "Menu Background",
|
||||||
"desc" => "Use this to change the Menu background color. This includes the navigation and logo background. The default for 'The Space' is #b8174d and the default for 'The Architects' is #f20a0a.",
|
"desc" => "Use this to change the Menu background color. This includes the navigation and logo background. The default for 'The Space' is #b8174d and the default for 'The Architects' is #f20a0a.",
|
||||||
"id" => "menu_bg",
|
"id" => "menu_bg",
|
||||||
"std" => "#f20a0a",
|
"std" => "#FF6900",
|
||||||
"type" => "color");
|
"type" => "color");
|
||||||
|
|
||||||
$options[] = array( "name" => "Headings Color",
|
$options[] = array( "name" => "Headings Color",
|
||||||
"desc" => "Use this to change the main headings color. The default for 'The Space' is #000000 and the default for 'The Architects' is #f20a0a.",
|
"desc" => "Use this to change the main headings color. The default for 'The Space' is #000000 and the default for 'The Architects' is #f20a0a.",
|
||||||
"id" => "headings_color",
|
"id" => "headings_color",
|
||||||
"std" => "#f20a0a",
|
"std" => "#515151",
|
||||||
"type" => "color");
|
"type" => "color");
|
||||||
|
|
||||||
$options[] = array( "name" => "Static Menu",
|
$options[] = array( "name" => "Static Menu",
|
||||||
@ -190,13 +190,13 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "Homepage Title",
|
$options[] = array( "name" => "Homepage Title",
|
||||||
"desc" => "Enter a title for the homepage, leave blank if you want to use an auto generated one.",
|
"desc" => "Enter a title for the homepage, leave blank if you want to use an auto generated one.",
|
||||||
"id" => "home_title",
|
"id" => "home_title",
|
||||||
"std" => "",
|
"std" => "Instaldeco",
|
||||||
"type" => "text");
|
"type" => "text");
|
||||||
|
|
||||||
$options[] = array( "name" => "Homepage Meta Description",
|
$options[] = array( "name" => "Homepage Meta Description",
|
||||||
"desc" => "Enter a description for the homepage, about 140 characters.",
|
"desc" => "Enter a description for the homepage, about 140 characters.",
|
||||||
"id" => "home_meta",
|
"id" => "home_meta",
|
||||||
"std" => "",
|
"std" => "Desarrollamos y materializamos cualquier proyecto o idea que llegue a nuestras manos",
|
||||||
"type" => "text");
|
"type" => "text");
|
||||||
|
|
||||||
$options[] = array( "name" => "Tracking Code",
|
$options[] = array( "name" => "Tracking Code",
|
||||||
@ -208,7 +208,7 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "404 Error Message Text",
|
$options[] = array( "name" => "404 Error Message Text",
|
||||||
"desc" => "Enter your custom 404 error message.",
|
"desc" => "Enter your custom 404 error message.",
|
||||||
"id" => "404_error",
|
"id" => "404_error",
|
||||||
"std" => "404 Page Not Found",
|
"std" => "Página no encontrada",
|
||||||
"type" => "textarea");
|
"type" => "textarea");
|
||||||
|
|
||||||
$options[] = array( "name" => "Custom CSS",
|
$options[] = array( "name" => "Custom CSS",
|
||||||
@ -267,7 +267,7 @@ function optionsframework_options() {
|
|||||||
$options[] = array( "name" => "Bullets",
|
$options[] = array( "name" => "Bullets",
|
||||||
"desc" => "Show the bullet navigation.",
|
"desc" => "Show the bullet navigation.",
|
||||||
"id" => "bullets",
|
"id" => "bullets",
|
||||||
"std" => "false",
|
"std" => "true",
|
||||||
"type" => "select",
|
"type" => "select",
|
||||||
"class" => "mini",
|
"class" => "mini",
|
||||||
"options" => array('true' => 'On', 'false' => 'Off'));
|
"options" => array('true' => 'On', 'false' => 'Off'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user