Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter frankw66

    (@frankw66)

    Why should the problem be with the Vega theme? the same theme on an identical webspace works yes. I will still contact the support of Envato in the hope that someone can understand the problem

    Thread Starter frankw66

    (@frankw66)

    That would be the header of my themes (Vegas)

    
    <?php
    /**
     * The Header for the template.
     *
     * @package WordPress
     */
     
    if ( ! isset( $content_width ) ) $content_width = 960;
    
    if(session_id() == '') {
    	session_start();
    }
    global $pp_homepage_style;
    
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    
    <?php
    	$pp_enable_responsive = get_option('pp_enable_responsive');
    	if(!empty($pp_enable_responsive))
    	{
    ?>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <?php
    	}
    ?>
    
    <title><?php bloginfo('name'); ?> | <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title>
    <link rel="profile" href="https://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    
    <?php
    if(is_single())
    {
    	if(has_post_thumbnail(get_the_ID(), 'blog_f'))
    	{
    	    $image_id = get_post_thumbnail_id(get_the_ID());
    	    $fb_thumb = wp_get_attachment_image_src($image_id, 'thumbnail', true);
    	}
    
    	if(isset($fb_thumb[0]) && !empty($fb_thumb[0]))
    	{
    		$post_content = get_post_field('post_excerpt', $post->ID);
    	?>
    
    	<?php
    	}
    }
    ?>
    
    <?php
    	/**
    	*	Get favicon URL
    	**/
    	$pp_favicon = get_option('pp_favicon');
    	
    	if(!empty($pp_favicon))
    	{
    ?>
    		<link rel="shortcut icon" href="<?php echo $pp_favicon; ?>" />
    <?php
    	}
    ?> 
    
    <?php
    	/**
        *	Setup code before </head>
        **/
    	$pp_before_head_code = get_option('pp_before_head_code');
    	
    	if(!empty($pp_before_head_code))
    	{
    		echo stripslashes($pp_before_head_code);
    	}
    ?>
    
    <?php
    	/* Always have wp_head() just before the closing </head>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to add elements to <head> such
    	 * as styles, scripts, and meta tags.
    	 */
    	wp_head();
    ?>
    
    </head>
Viewing 2 replies - 1 through 2 (of 2 total)