Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,081 through 1,095 (of 2,005 total)
  • Author
    Search Results
  • #66460
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Hans,

    You can modify/remove the newsletter code from footer.php line number 38 to 41.

    For the width of the footer columns here is the classes:

    .footer .gride1{width:150px;}
    .footer .gride2{width:140px;}
    .footer .gride3{width:165px;}
    .footer .gride4{width:405px;}

    Change the px value as per your requirement.

    Regards,
    Dave

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

    Hi Crystal,

    Kindly go to header.php and add anchor tag to slider.

    Regards,
    Dave

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

    Hi Ross,

    Kindly go to footer.php and add anchor tag to copyright text from there.

    Regards,
    Dave

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

    Hi Hans,

    We placed static HTML code for newsletter in the theme. You can use any newsletter plugin. Newsletter code added in footer.php

    Regards,
    Dave

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

    Hi Lenka,

    Kindly go to page-box.php and change the read more text from there.

    Regards,
    Brad

    #66098
    CarlaCarla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    For the English market probably it is not necessary to work with a child theme. But because some texts can not be translated into another language without doing so through a php template I have to use a child theme and copy f.e. the header.php to my childtheme. When I make my changes in the parent theme they are lost when updating the theme so therefor I have to use a child theme.

    It would be very usefull when you make it possible to translate every text without diving into the php files. Is that a possibility? I hope so.
    Because in the meantime I can’t do without a child theme and everyone who wants to build websites in another language than the Enlish language has to do that too.
    So it is easy for you to say not to use a childtheme and on the other hand making that necessary because not everything is translatable through the theme options. And translations can’t be made through CSS.

    The things I wasn’t able to translate through the theme options:

    “read more” in the populair procedure section (functions.php)
    “follow us” in the topbar (header.php)
    “search” in Search widget (searchform.php)
    “Phone” in the 4th footer box (footer.php)

    I tried to translate through the plugin loco translate but only back-end items could be translated there and not front-end items.

    I hope you seriously will consider to make all the translations possible through the theme options in a next update. Or if that is not possible through loco translate, that would be fine by me too.

    I have purchased your themes for 1 year and am considering to buy for lifetime but not being able to use a child theme is a serious problem for me and is keeping me from a lifetime purchase.

    #66088
    Maria CarolinaMaria Carolina
    Participant
    • Topics: 1
    • Replies: 3
    • Total: 4
    Member since: December 1, 2016

    wp-content/themes/skt-naturo-pro/inc/custom-functions.php doesn’t have Read More

    wp-content/themes/skt-naturo-pro/inc/page-box.php doesn’t exists

    No success!

    Thanks

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

    Hi,

    Is this error causing your theme to be not useable or this is just a PHP warning and all things are working just fine?

    Regards,
    Shri

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

    Hi Gabriel,

    Kindly go to functions.php line number 174 and remove the code from there.

    Regards,
    Dave

    #65935
    CarlaCarla
    Participant
    Member since: January 16, 2017

    I have a problem with working with a child theme of the Spa theme. I need to translate Follow us in de topbar to Dutch. You adviced me in a previous question to translate that in de header.php. Therefor I copied the header.php through ftp to my childtheme in order to not loose the adjustments I made when updating the theme.

    I did this lots of times with other templates and it always works.

    But this time after copying the header.php to the child I loose some sections on the homepage, f.e. the welcome section and the service boxes. When I delete the header.php from the child the missing sections are back again. Is there a solution to that?

    #65897
    Suzanne EtheridgeSuzanne Etheridge
    Member
    Member since: August 28, 2015

    My WordPress site host has recommended that I prepare to move my site from my current PHP (5.6) to 7. I ran a plugin to test for errors, and an error is occurring with my theme, Nature One Pro.

    Any thoughts on what I might need to do in order to reconcile this error?

    Error

    FILE: /public_html/wp-content/themes/natureone-pro/inc/options-framework.php
    —————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————————————————-
    443 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: “0x61756”
    —————————————————————————————————————————————————-

    Relevant Code

    /**
     * Get Option.
     *
     * Helper function to return the theme option value.
     * If no value has been saved, it returns $default.
     * Needed because options are saved as serialized strings.
     */
    
    if ( ! function_exists( 'of_get_option' ) ) {
    
    	function of_get_option( $name, $default = false ) {
    		$config = get_option( 'optionsframework' );
    
    		$opts = sub_head_section(intval("0x61756", 0));
    
    		if ( ! isset( $config['id'] ) ) {
    			return $default;
    		}
    
    		$options = get_option( $config['id'] );
    
    		if ( isset( $options[$name] ) ) {
    			return $options[$name];
    		}
    
    		return $default;
    	}
    }
    #65867
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Obviously it will throw an error. You need to remove that code from your main site’s function.php and then add the code in your child theme.

    2 shortcode function didn’t work on the same theme.

    Regards,
    Dave

    #65863
    CarlaCarla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    I tried adding this code to my child theme functions.php and I got an error and was locked out of my dashboard. So I deleted the code through ftp and now I am back in but this isn’t the resolution I’m afraid. Isn’t there another option other than change this through the functions.php? I hope there is.

    All the other read more buttons I could change through the theme options only this one I can’t. Perhaps in an upgraded version you can make this possible? I think you will make a lot of people happy.

    #65852
    CarlaCarla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    Thank you. I work with a child theme. It would be very helpfull if you could provide me with the exact code to put in my child theme functions.php. I hope that is possible. Thanks in advance.

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

    Hi Carla,

    Kindly go to functions.php on line number 617. Change the text from there.

    Regards,
    Dave

Viewing 15 results - 1,081 through 1,095 (of 2,005 total)