Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 676 through 690 (of 2,000 total)
  • Author
    Search Results
  • #104605

    In reply to: Girlie Pro

    NigelNigel
    Participant
    • Topics: 184
    • Replies: 336
    • Total: 520
    Member since: March 17, 2016

    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>

    #104601

    In reply to: Girlie Pro

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31277
    • Total: 31277
    Member since: August 16, 2013

    Hi Nigel,

    Kindly edit header.php file and paste below code just above </head> tag:

    <link href="https://fonts.googleapis.com/css?family=Petit+Formal+Script" rel="stylesheet">

    Regards,
    Dave

    #104449

    In reply to: Girlie Pro

    NigelNigel
    Participant
    • Topics: 184
    • Replies: 336
    • Total: 520
    Member since: March 17, 2016

    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”>

    “>
    <?php if( of_get_option( ‘logo’, true ) != ” ) { ; ?>
    ” / >
    <?php } else { ?>
    <h2><?php bloginfo(‘name’); ?></h2>
    <span class=”tagline”><?php bloginfo( ‘description’ ); ?></span>
    <?php } ?>

    </div><!– 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 } ?>

    #104442
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Kindly edit header.php

    Find:
    <meta name="viewport" content="width=device-width, initial-scale=1.1"/>

    And replace
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    #104439

    In reply to: Girlie Pro

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Kindly edit header.php file paste below code into the tag:

    <link href="https://fonts.googleapis.com/css?family=Petit+Formal+Script" rel="stylesheet">

    Regards,
    Shri

    #104435
    Marlou .Marlou .
    Participant
    Member since: December 10, 2015

    Hi,

    I got an email from my hosting saying they are changing/upgrading the PHP version. From 5.6 tot 7.1 or 7.2. When I adjust this, my website doesn’t function anymore. Does this have something to do with my theme not running on this version? I’m a bit stumped as why nothing works anymore (I put it back to 5.6 for now).
    See screenshot for error: https://vesco27.imgur.com/all/

    My website is: https://saudadesdeportugal.nl

    #104395
    daisy.hiratadaisy.hirata
    Participant
    Member since: July 14, 2018

    I was trying to create a child theme using a plugin and this what I was informed before I proceeded.

    I didn’t activate it because I’m worried it will create a fatal error in the website itself.

    Can this be resolved? Any recommendation?

    Thanks a lot.

    ———————————————————————————————————–

    Notice: Undefined index: features_text_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 60

    Notice: Undefined index: features_text_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 61

    Notice: Undefined index: features_text_hover_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 64

    Notice: Undefined index: features_text_hover_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 65

    Notice: Undefined index: features_ordernumber_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 67

    Notice: Undefined index: features_bottom_border_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 68

    Notice: Undefined index: section1_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 90

    Notice: Undefined index: section1_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 91

    Notice: Undefined index: section2_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 96

    Notice: Undefined index: section2_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 97

    Notice: Undefined index: section3_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 102

    Notice: Undefined index: section3_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 103

    Notice: Undefined index: section4_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 108

    Notice: Undefined index: section4_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 109

    Notice: Undefined index: section5_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 115

    Notice: Undefined index: section5_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 116

    Notice: Undefined index: section6_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 121

    Notice: Undefined index: section6_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 122

    Notice: Undefined index: section7_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 127

    Notice: Undefined index: section7_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 128

    Notice: Undefined index: section8_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 133

    Notice: Undefined index: section8_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 134

    Notice: Undefined index: section9_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 139

    Notice: Undefined index: section9_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 140

    Notice: Undefined index: section10_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 145

    Notice: Undefined index: section10_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 146

    Notice: Undefined index: section11_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 151

    Notice: Undefined index: section11_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 152

    Notice: Undefined index: section12_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 157

    Notice: Undefined index: section12_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 158

    Notice: Undefined index: section13_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 163

    Notice: Undefined index: section13_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 164

    Notice: Undefined index: section14_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 169

    Notice: Undefined index: section14_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 170

    Notice: Undefined index: section15_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 175

    Notice: Undefined index: section15_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 176

    Notice: Undefined index: section16_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 182

    Notice: Undefined index: section16_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 183

    Notice: Undefined index: section17_title_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 189

    Notice: Undefined index: section17_seprator_color in /home/u295858001/public_html/wp-content/themes/perfect/templates/custom-style.php on line 190

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31277
    • Total: 31277
    Member since: August 16, 2013

    Hi,

    Kindly edit inc/custom-functions.php file, go to line number 322 and change it there.

    Regards,
    Chris

    ShaunShaun
    Participant
    Member since: October 15, 2016

    If this has been discussed in another feed, please direct me to it.

    I am unable to solve the “Missing: Author” hentry error inside Google Search Console. When I go to the Single.php to attempt to correct but cannot find an author section. Can someone help me finding a working solution to this problem?

    Theme – SKT Bakery Pro
    Site – deannasdesignstlouis.com

    Thanks,
    Shaun

    #104028

    Topic: Social icons

    in forum All Other Themes
    Lawrence Chadwick-smithLawrence Chadwick-smith
    Participant
    Member since: April 28, 2016

    Hello

    I need the instagram and youtube icons displayed on the social media but; However I’m struglging to do this despite altering the text? Can you help please?

    http://track-assets.select66.com/blog/wp-admin/plugins.php

    Thansk

    #103872
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Alternatively

    file name functions.php find this function

    add_theme_support( 'woocommerce' );  
    
    this function below add this function
    
    add_theme_support( 'wc-product-gallery-zoom' );
      add_theme_support( 'wc-product-gallery-lightbox' );
      add_theme_support( 'wc-product-gallery-slider' );

    Regards,
    Shri

    #103709
    Lori SchroederLori Schroeder
    Participant
    Member since: August 20, 2015

    How do I change the wording for “Leave a Reply” as well as the “Post Comment” button? I thought it would be in comments.php but I don’t see it there.

    This is the page I want to change: http://lswebsitedesigns.com/vonbreker/our-testimonials/

    Thank you!

    #103682
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    No login permission this error message comes when we try to login: You don’t have permission to access /wp-login.php on this server.

    Regards,
    Shri

    #103368
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31277
    • Total: 31277
    Member since: August 16, 2013

    Hi,

    Kindly use compressjpeg.com or tinypng.com to reduce sizes and compress all your images and reupload them.

    Lastly kindly use WP Fastest Cache plugin and ask hosting to have Zend Op Cache and PHP Server cache applied to your site or if they have NGINX available get them to use that.

    With all the above steps i am sure your site will be faster. Theme is just part of the entire WordPress website ecosystem and our themes are coded to be faster.

    Rest are all generic points i mentioned here.

    Regards,
    Dave

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31277
    • Total: 31277
    Member since: August 16, 2013

    Hi,

    Kindly go to content.php and find the text “Lowcarb / Ketogene Pizza – Fitnessrezepte” and change h3 to h2.

    Regards,
    Chris

Viewing 15 results - 676 through 690 (of 2,000 total)