Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 616 through 630 (of 2,000 total)
  • Author
    Search Results
  • JimakoJimako
    Participant
    Member since: November 27, 2018

    Hi,
    SKT Welder Pro theme is not working with child theme out of box. I didn’t find this in documentation. Maybe this helps somebody.

    There are 2 ways how to detect theme options name in this theme:

    $themename = wp_get_theme();
    and
    $option_name = get_option( 'stylesheet' );

    This means that you can:
    1. to name your child theme the same name as your child theme folder (Theme Name in your child style.css)

    or you need to add this code to function.php in child theme:

    if ( ! is_admin() ) {
      function optionsframework_option_name() {
      	// Change this to use your theme slug
      	$themename = wp_get_theme();
      	$themename = preg_replace("/\W/", "_", strtolower($themename) );
       
      	return $themename;
      }
    }

    Otherwise you don’t get correct options values and your site doesn’t work.

    Edited: added test if it’s not admin area. Otherwise you get fatal error, because in admin area it works different way.

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

    Hi,

    Edited category.php file and added following code just after <!–CUSTOM PAGE HEADER ENDS–>

    <div class="clear"></div>
    <div class="center">
    <?php the_archive_description( '<div style="margin-top: 40px; padding-left: 20px;" class="taxonomy-description">', '</div>' ); ?>
    </div>

    Regards,
    Dave

    #112255

    In reply to: Disable Gallery

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

    Hi,

    We have deleted the gallery post type codes in custom-functions.php.

    Regards,
    Brad

    #112239
    neuendorfneuendorf
    Participant
    Member since: November 20, 2018

    Hi there,

    I created a new post under my blog. As contribution picture I choosed the “black friday pic”. But in the post I didn’t insert any picture and I get one displayed. What is wrong? And if the image appears, then at least the text should appear below or above it. But not to the side.

    Link for checking:
    http://sunset-sonnenstudio.com/index.php/2015/08/26/dummy-post-here/

    Thanks for help!

    Marc K.Marc K.
    Member
    • Topics: 8
    • Replies: 43
    • Total: 51
    Member since: October 12, 2015

    Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /customers/8/a/c/vandeenen.nl/httpd.www/wp-content/themes/skt_biz_pro/functions.php:60 Stack trace: #0 /customers/8/a/c/vandeenen.nl/httpd.www/wp-settings.php(426): include() #1 /customers/8/a/c/vandeenen.nl/httpd.www/wp-config.php(107): require_once(‘/customers/8/a/…’) #2 /customers/8/a/c/vandeenen.nl/httpd.www/wp-load.php(37): require_once(‘/customers/8/a/…’) #3 /customers/8/a/c/vandeenen.nl/httpd.www/wp-blog-header.php(13): require_once(‘/customers/8/a/…’) #4 /customers/8/a/c/vandeenen.nl/httpd.www/index.php(17): require(‘/customers/8/a/…’) #5 {main} thrown in /customers/8/a/c/vandeenen.nl/httpd.www/wp-content/themes/skt_biz_pro/functions.php on line 60

    If you can tell me if this is something you can solve, i will be renew my support by your provided link.

    Greetings
    Marc

    Marc K.Marc K.
    Member
    Member since: October 12, 2015

    Since my provider updated the PhP version to 7.2, i can not watch my website anymore.
    Only when i downgrade to i.e. version Php5.6 it works.

    How is this possible?

    http://www.vandeenen.nl

    #111731
    procopiaprocopia
    Participant
    • Topics: 8
    • Replies: 17
    • Total: 25
    Member since: November 17, 2017

    It does not delete its data, but it deletes all changes that have been made to the functions.php, header.php etc. So I guess I will have to work with a child theme, if I want to avoid this in the future?

    Regards,
    Thomas

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

    Hi,

    Kindly ask your hosting provider:

    I need a script whitelisted in modSecurity: /wp-admin/admin-ajax.php I receive a “406 (Not Acceptable)” error when this script attempts to publish menu items on my WordPress site.

    Regards,
    Brad

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

    Hi,

    Kindly go to 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"/>

    Regards,
    Brad

    #111403
    athena.mekisathena.mekis
    Participant
    • Topics: 7
    • Replies: 18
    • Total: 25
    Member since: August 15, 2017

    Hi Chris,

    Unfortunately, that didn’t change the color of the span icon on hover. I went ahead and removed the circle icon all together by removing <span> from the content.php page.

    Previously:
    <p class=”read-more”>“><?php echo of_get_option(‘readmoretext’); ?><span>›</span></p>

    Now:
    <p class=”read-more”>“><?php echo of_get_option(‘readmoretext’); ?>›</p>

    I even tried: .content-area p.read-more span:hover {color:#447dc0;} but it didn’t work.

    Anyway, removing the circle completely worked fine. Items is now closed.

    Thank you for your effort.

    Athena

    #111395
    AzzouziAzzouzi
    Participant
    Member since: October 10, 2016

    Hello,

    1/Problem :

    It’s impossible to register new user :

    http://allineone-brussels.be/wp-login.php?action=register

    Not Found
    The requested document was not found on this server.
    Web Server at allineone-brussels.be

    2/problem
    Is it possible to chose if we put a price or not to an article. ? for exemple if i add a bakery in a location for a category i dont need a price on that bakery just contact information.

    Thank you for all 🙂

    Kr,

    Mourad

    #111378

    In reply to: google map iframe code

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

    Hi,

    Changed some codes in options.php file and contact page template file.

    Regards,
    Brad

    #111194

    In reply to: Blog for Naturo Pro

    athena.mekisathena.mekis
    Participant
    • Topics: 7
    • Replies: 18
    • Total: 25
    Member since: August 15, 2017

    Hi SKT,

    The basic blog setup response was not the answer I needed. The answer I was looking for was ticking the “excerpt” option within Post > Screen Options. Unfortunately, it appears the excerpt code is turned off within wp includes > post-template.php. I tried the Advanced Excerpt plugin, but it did not work. How do I turn on <?php the_excerpt(); ?> to get my excerpts to show on my blog “archive” page?

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

    Hi,

    Kindly go to Appearance >> Theme Options >> Basic Settings >> Custom CSS Box:

    Add this code there:

    .quick_contact #contactform_main input[type="submit"] { border-radius:5px;}
    .quick_contact #contactform_main span.capcode { border-radius:5px; padding:3px 14px;}

    1) How can I modify the fields to my local language?

    Kindly go to inc folder >> custom-function.php and find text “contactform_main” and change it there in your local language.

    Regards,
    Brad

    #110549

    In reply to: noindex tag?

    mail67mail67
    Member
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: July 22, 2018

    I have 3 header.php files:
    \wp-content\themes\skt-spa\header.php
    \wp-includes\theme-compat\header.php
    \wp-content\themes\twentyseventeen\header.php

    But none of them contains the meta tag?

    If I search for “noindex” through my entire wp installation the word is not in any files?

Viewing 15 results - 616 through 630 (of 2,000 total)