".__("Choose your layout. Possible options are: No sidebar, a single sidebar on either left of right, two sidebars on either left or
right and two sidebars on each side.","mantra")."
";
}
//SLIDER - Name: ma_options[sidewidth]
function cryout_setting_sidewidth_fn() {
global $mantra_options;
$items = array ("Absolute" , "Relative");
$itemsare = array( __("Absolute","mantra"), __("Relative *NO LONGER SUPPORTED","mantra"));
if ( "Relative" != $mantra_options['mantra_dimselect'] ) {
// relative dimmensions are no longer supported by the theme; only display them to existing sites that use them
unset($items[1]);
unset($itemsare[1]);
}
echo __("Dimensions to use: ","mantra")." ";
?>
px px^——— px ———^
";
echo "";?>
".__("Select the width of your content and sidebar(s).
While the content cannot be less than 500px wide, the sidebar area is at least 220px and no more than 800px.
If you went for a 3 column area ( with 2 sidebars) they will each have half the selected width.","mantra")."
"; ?>
% %^——— % ———^
";
echo "";?>
".__("Select the width of your content and sidebar(s).
These are realtive dimmensions - relative to the user's browser. The total width is a percentage of the browser's width.
While the content cannot be less than 40% wide, the sidebar area is at least 20% and no more than 50%.
If you went for a 3 column area ( with 2 sidebars) they will each have half the selected width.","mantra")."
".__("Enable to make Mantra fully responsive. The layout and general sizes of your blog will adjust depending on what device and what resolution it is viewed in. Do not disable unless you have a good reason to.","mantra")."
".__("Enable the presentation front-page. This will become your new home page. It has a slider and columns for presentation
text and images. If you have this enabled but don't see a Presentation page then go to Settings » Reading and make sure you have selected Front Page Displays as Your Latest Posts.","mantra")."
'.__('You have enabled the Presentation Page but your WordPress\' Front page displays option is set to use a static page. WordPress guidelines require that the static page option have priority over theme options. Go to %1$s and set the Front page displays option to Your latest posts to display the presentation page.',"mantra").'
".__("Enable to display latest posts on the presentation page, below the columns. Sticky posts are always displayed and not counted.","mantra")."
";
}
//CHECKBOX - Name: ma_options[frontslider]
function cryout_setting_frontslider_fn() {
global $mantra_options;
echo "
".__("Slider Dimensions:","mantra")." ";
echo " px (".__("width","mantra").") X ";
echo " px (".__("height","mantra").")";
echo "".__("The dimensions of your slider. Make sure your images are of the same size.","mantra")."
".__("Border Settings:","mantra")." ";
echo __('Width' ,'mantra').": px / ";
echo __('Color','mantra').': ';
echo '';
echo "".__("The width and color of the slider's border.","mantra")."
";
echo "
".__("Animation Time:","mantra")." ";
echo " ".__("milliseconds","mantra");
echo "".__("The time in which the transition animation will take place.","mantra")."
";
echo "
".__("Pause Time:","mantra")." ";
echo " ".__("milliseconds","mantra");
echo "".__("The time in which a slide will be still and visible.","mantra")."
".__("Slider arrows:","mantra")." ";
$items = array ("Always Visible" , "Visible on Hover" ,"Hidden");
$itemsare = array( __("Always Visible","mantra"), __("Visible on Hover","mantra"), __("Hidden","mantra"));
echo "";
echo "".__("The Left and Right arrows on your slider","mantra")."
";
?>
".__("Select the content you want to load in your slides:","mantra")." ";
echo "";
echo "
".__("Your slides' content. Only the image is required, all other fields are optional. Only the slides with an image selected will become acitve and visible in the live slider.","mantra")."
' />
".__("The linked text that appears at the bottom of all the columns. You can delete all text inside if you don't want it.","mantra")."
";
?>
' />
' />
' />
' />
Title
' />
' />
' />
' />
".__("Extra Text","mantra")."
";
echo "
Text for the Presentation Page".__("More text for your front page. The top title is above the slider, the second title between the slider and the columns and 2 more rows of text under the columns.
It's all optional so leave any input field empty if it's not required. ","mantra")."
";
echo "
".__("Top Title","mantra")."
";
echo "
".__("Second Title","mantra")."
";
echo "";
echo "
".__("Title color","mantra")."
";
echo '';
echo '';
echo "
".__("Bottom Text 1","mantra")."
";
echo "";
echo "
".__("Bottom Text 2","mantra")."
";
echo "
";
echo "
".__("Hide areas","mantra")."
";
echo "
".__("Choose the areas to hide on the first page.","mantra")."
";
}
//////////////////////////////
/////HEADER SETTINGS//////////
/////////////////////////////
//SELECT - Name: ma_options[hheight]
function cryout_setting_hheight_fn() {
global $mantra_options;?>
' /> px
".__("Select the header's height. After saving the settings make sure you reupload a new header image (if you're using one). The header's width will be = ","mantra").$totally."px.";
}
function cryout_setting_himage_fn() {
global $mantra_options;
$checkedClass = ($mantra_options['mantra_hcenter']=='1') ? ' checkedClass' : '';
$checkedClass2 = ($mantra_options['mantra_hratio']=='1') ? ' checkedClass' : '';
echo "".__('Define header image','mantra')."";
echo "
".__("The header image should not be used to display logos. Enable ratio preservation to force the header image aspect ratio. Keep in mind that short images will become very small on mobile devices.","mantra")."
".__("Enable or disable the round corners for the main menu items.","mantra")."
";
}
//CHECKBOX - Name: ma_options[linkheader]
function cryout_setting_siteheader_fn() {
global $mantra_options;
$items = array ("Site Title and Description" , "Custom Logo" , "Clickable header image" , "Empty");
$itemsare = array( __("Site Title and Description","mantra"), __("Custom Logo","mantra"), __("Clickable header image","mantra"), __("Empty","mantra"));
echo "";
echo "
".__("Choose what to display inside your header area.","mantra")."
";
}
// TEXTBOX - Name: ma_options[favicon]
function cryout_setting_logoupload_fn() {
global $mantra_options;
echo '
';
?>
' class="imagebox" style="display:;max-height:60px" />
".__("Custom Logo upload. The logo will appear over the heder image if you have used one.","mantra")."
"; ?>
' /> px
' /> px
".__("Select the top spacing for the header. Use it to better position your site title and description or custom logo inside the header. ","mantra")."";
}
// TEXTBOX - Name: ma_options[favicon]
function cryout_setting_favicon_fn() {
global $mantra_options;
echo '
';
?>
' class="imagebox" width="64" height="64"/>
".__("Limitations: It has to be an image. It should be max 64x64 pixels in dimensions. Recommended file extensions .ico and .png. Note that some browsers do not display the changed favicon instantly.","mantra")."
".__("Select the font size you'll use in your blog. Pages, posts and comments will be affected. Buttons, Headers and Side menus will remain the same.","mantra")."
";
}
//SELECT - Name: ma_options[fontfamily]
function cryout_setting_fontfamily_fn() {
global $mantra_options;
global $fontSans, $fontSerif, $fontMono, $fontCursive;
echo "";
echo "
".__("Select the font family you'll use in your blog. All content text will be affected (including menu buttons). ","mantra")."
";
echo '';
echo "
".__("Or insert your Google Font below. Please only isert the name of the font. Ex: Marko One. Go to google fonts for some font inspiration.","mantra")."
";
}
//SELECT - Name: ma_options[fonttitle]
function cryout_setting_fonttitle_fn() {
global $mantra_options;
global $fontSans, $fontSerif, $fontMono, $fontCursive;
echo "";
echo "
".__("Select the font family you want for your titles. It will affect post titles and page titles. Leave 'Default' and the general font you selected will be used.","mantra")."
";
echo '';
echo "
".__("Or insert your Google Font below. Please only isert the name of the font. Ex: Marko One. Go to google fonts for some font inspiration.","mantra")."
";
}
//SELECT - Name: ma_options[fontside]
function cryout_setting_fontside_fn() {
global $mantra_options;
global $fontSans, $fontSerif, $fontMono, $fontCursive;
echo "";
echo "
".__("Select the font family you want your sidebar(s) to have. Text in sidebars will be affected, including any widgets. Leave 'Default' and the general font you selected will be used.","mantra")."
";
echo '';
echo "
".__("Or insert your Google Font below. Please only isert the name of the font. Ex: Marko One. Go to google fonts for some font inspiration.","mantra")."
";
}
//SELECT - Name: ma_options[fontsubheader]
function cryout_setting_fontsubheader_fn() {
global $mantra_options;
global $fontSans, $fontSerif, $fontMono, $fontCursive;
echo "";
echo "
".__("Select the font family you want your headings to have (h1 - h6 tags will be affected). Leave 'Default' and the general font you selected will be used.","mantra")."
";
echo '';
echo "
".__("Or insert your Google Font below. Please only isert the name of the font. Ex: Marko One. Go to google fonts for some font inspiration.","mantra")."
".__("This overwrites the text alignment in posts and pages. Leave 'Default' for normal settings (alignment will remain as declared in posts, comments etc.).","mantra")."
".__("Show breadcrumbs at the top of the content area. Breadcrumbs are a form of navigation that keeps track of your location withtin the site.","mantra")."
".__("Show numbered pagination. Where there is more than one page, instead of the bottom Older Posts and Newer posts links you have a numbered pagination. ","mantra")."
".__("Excerpts on the main page. Only standard posts will be affected. All other post formats (aside, image, chat, quote etc.) have their specific formating.","mantra")."
".__("Excerpts on archive, categroy and search pages. Same as above, only standard posts will be affected.","mantra")."
";
}
// TEXTBOX - Name: ma_options[excerptwords]
function cryout_setting_excerptwords_fn() {
global $mantra_options;
echo "";
echo "
".__("The number of words an excerpt will have. When that number is reached the post will be interrupted by a Continue reading link that
will take the reader to the full post page.","mantra")."
".sprintf(__("By default WordPress excerpts remove all HTML tags (%s and all others) and only clean text is left in the excerpt.
Enabling this option allows HTML tags to remain in excerpts so all your default formating will be kept. Just a warning: If HTML tags are enabled, you have to make sure
they are not left open. So if within your post you have an opened HTML tag but the except ends before that tag closes, the rest of the site will be contained in that HTML tag. -- Leave 'Disable' if unsure --