frankw66
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Fixing WordPress
In reply to: Big problem with the menu pluginWhy 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
Forum: Fixing WordPress
In reply to: Big problem with the menu pluginThat 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>
- This reply was modified 6 years, 7 months ago by Steven Stern (sterndata).
Viewing 2 replies - 1 through 2 (of 2 total)