Forum Replies Created
-
AuthorPosts
-
still not working
https://coastal-wedding-event-hire.co.uk/wedding-and-special-event-styling-ideas/
this is the code with your edit added (do you want access to this site?)
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id=”content”>
*
* @package SKT Girlie
*/
error_reporting(0);
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”SKYPE_TOOLBAR” content=”SKYPE_TOOLBAR_PARSER_COMPATIBLE”>
<meta name=”viewport” content=”width=device-width”>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<!–[if lt IE 9]>
<script type=”text/javascript” src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
<link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/ie.css” type=”text/css” media=”all” />
<![endif]–>
<?php
wp_head();
$themename = wp_get_theme();
$themename = preg_replace(“/\W/”, “_”, strtolower($themename) );
if( !get_option( $themename ) ) {
require get_template_directory() . ‘/index-default.php’;
exit;
}
?>
<link href=”https://fonts.googleapis.com/css?family=Petit+Formal+Script” rel=”stylesheet”>
</head>can we resolve please?
thanks, when you say ‘paste below code into the tag’ where exactly do you mean?
header.php code below (I am not a coder)
—————————————————————————–
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id=”content”>
*
* @package SKT Girlie
*/
error_reporting(0);
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”SKYPE_TOOLBAR” content=”SKYPE_TOOLBAR_PARSER_COMPATIBLE”>
<meta name=”viewport” content=”width=device-width”>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<!–[if lt IE 9]>
<script type=”text/javascript” src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
<link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/ie.css” type=”text/css” media=”all” />
<![endif]–>
<?php
wp_head();
$themename = wp_get_theme();
$themename = preg_replace(“/\W/”, “_”, strtolower($themename) );
if( !get_option( $themename ) ) {
require get_template_directory() . ‘/index-default.php’;
exit;
}
?>
</head><body <?php body_class(); ?>>
<div class=”header”><div class=”header-inner”>
<div class=”logo”><div class=”clear”></div>
<div class=”toggle”>
<?php echo of_get_option(‘mobilemenuname’); ?>
</div><!– toggle –>
<div class=”nav”>
<?php wp_nav_menu( array(‘theme_location’ => ‘primary’) ); ?>
<div class=”clear”></div>
</div><!– nav –>
<div class=”clear”></div>
</div><!– header-inner –>
</div><!– header –><?php if ( is_home() || is_front_page() ) { ?>
<?php $slidershortcode = of_get_option(‘slidershortcode’); ?>
<?php if( !empty($slidershortcode)){?>
<div class=”slider-main”>
<?php if( of_get_option(‘slidershortcode’) != ”){ echo do_shortcode(of_get_option(‘slidershortcode’, true));}; ?>
</div>
<?php } else { ?><div class=”slider-main”>
<?php
$slAr = array();
$m = 0;
for ($i=1; $i<11; $i++) {
if ( of_get_option(‘slide’.$i, true) != “” ) {
$imgSrc = of_get_option(‘slide’.$i, true);
$imglink = of_get_option(‘slidelink’.$i, true);
$slideurl = of_get_option(‘slideurl’.$i, true);
if ( strlen($imgSrc) > 10 ) {
$slAr[$m][‘image_src’] = of_get_option(‘slide’.$i, true);
$slAr[$m][‘image_url’] = of_get_option(‘slidelink’.$i, true);
$m++;
}
}
}
$slideno = array();
if( $slAr > 0 ){
$n = 0;?>
<div id=”slider” class=”nivoSlider”>
<?php
foreach( $slAr as $sv ){
$n++; ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php echo ‘#slidecaption’.$n ; ?>”/><?php
$slideno[] = $n;
}
?>
</div><?php
foreach( $slideno as $sln ){ ?>
<div id=”slidecaption<?php echo $sln; ?>” class=”nivo-html-caption”>
<div class=”slide_info”>
<?php if( of_get_option(‘slidedesc’.$sln, true) != ” ){ ?>
<p><span> </span><?php echo do_shortcode(of_get_option(‘slidedesc’.$sln, true)); ?><span> </span></p>
<?php } ?>
<?php if( of_get_option(‘slidetitle’.$sln, true) != ” ){ ?>
<h2><?php echo of_get_option(‘slidetitle’.$sln, true); ?></h2>
<?php } ?>
<?php if( of_get_option(‘slideurl’.$sln, true) != ” ){ ?>
“>
<?php echo of_get_option(‘slidebutton’.$sln, true); ?>
<?php } ?>
</div>
</div><?php } ?>
</div>
<div class=”clear”></div><?php } ?>
</div></div><!– slider –>
<?php } ?>
<?php } else { ?>
<div class=”innerbanner”>
<?php
if( is_single() || is_archive() || is_category() || is_author()|| is_search()) {
echo ‘‘;
}
else{
if( has_post_thumbnail() ) {
$src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ‘full’ );
$thumbnailSrc = $src[0];
echo ‘‘;
}
else{
echo ‘‘;
}
}
?>
</div>
<?php } ?>can we resolve the U/Lc issue please
thanks for the code, font updated but not U/Lc
see https://coastal-wedding-event-hire.co.uk/wedding-and-special-event-styling-ideas/
could you resolve please
thanks for the code, how do I add a new font (Petit Formal Script) and change to upper/lower case?
could we resolve please
thanks, all good
thanks but I’m looking for the specific area that allows me to change a post title font please
thanks but still not working, almost there!
see: https://coastal-wedding-event-hire.co.uk/ using this…
[social_area]
[social icon="facebook" link="https://www.facebook.com/coastalweddingeventhire/notifications/"] [social icon="instagram" link="https://www.instagram.com/coastal_wedding_event_hire/"] [/social_area]Using their services for the past 2 years i even requested custom requirements several times and their top notch support has helped me through this each time.
Look forward to using their themes more and more.
thanks for your quick response
fixed, thanks
Brad, the home page looks OK but if you check all other pagers they have a large space as per previous captures
please check again on a mobile device
thanks but the white space is still showing
-
AuthorPosts