Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,891 through 1,905 (of 1,996 total)
  • Author
    Search Results
  • #6336
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Appearance>editor>open header.php file and cut the code from line no. 92 to 111

    this is the code: <div class=”header”>

    <div class=”header-inner”>

    <div class=”logo”>

    <a href=”<?php echo home_url(‘/’); ?>”>

    <?php if( of_get_option( ‘logo’, true ) != ” ) { ; ?>

    <img src=”<?php echo esc_url( of_get_option( ‘logo’, true )); ?>” / >

    <?php } else { ?>

    <h1><?php bloginfo(‘name’); ?></h1>

    <?php } ?>

    </a>

    <p><?php bloginfo(‘description’); ?></p>

    </div><!– logo –>

    <div class=”toggle”>

    <a class=”toggleMenu” href=”#”><?php _e(‘Menu’,’skt-white’); ?></a>

    </div><!– toggle –>

    <div class=”nav”>

    <?php wp_nav_menu( array(‘theme_location’  => ‘primary’) ); ?>

    </div><!– nav –><div class=”clear”></div>

    </div><!– header-inner –>

    </div><!– header –>

    and put this code below the body tag (after line no. 26).<body>

    Regards,

    Shri

    Gavin McCloyGavin McCloy
    Member
    Member since: April 23, 2015

    Hi I would like to move the menu / header to the top of the page, instead of being below the slider, if possible it would be nice to do this via custom CSS so I do not need to edit the theme.

    I did try to move the code within the header.php which did work but then the menu did not display on any of the pages, but would prefer to do it using custom CSS code please.

    if you can help thanks.

    #6282

    In reply to: Nature one pro help

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

    Hi Mario,

     

    Thanks for the nice words. Here is how. Kindly visit Appearance>Editor>Header.php

     

    And check line: <p><a href=”<?php echo of_get_option(‘slideurl’.$sln,true); ?>”>Read More…</a></p>

    Remove Read More… text. And it should be good.

    Regards,
    Shri

    #6015

    In reply to: Down arrow link?

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

    Hi,

    Kindly check header.php (Appearance>Editor>header.php) line number 88.

    Exact code is: <a href=”<?php echo get_site_url(); ?>/#services” class=”arrow-down”></a>

    Regards,

    Shri

    David WrightDavid Wright
    Member
    Member since: April 18, 2015

    Hi there

    I wish to remove the ‘Read More’ Button on the Homepage Slider but I cannot find where to do this; I use WP and cannot see the Appearance>Editor option with my dashboard?! I have looked at the functions.php document and taken out the ‘Read More’ code, then copied and pasted this into the custom CSS but this hasn’t worked? Please advise ASAP!

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

    Hi,

    I am afraid we will have to suggest code changes itself in the theme. Not possible using css.

    If it is single background then its managed using Appearance>Background. But for featured image we will have to change code.

    We have made changes to header.php and have attached it here: https://slack-files.com/T02T6CHHY-F04E894NF-261e58937c

    Regards,
    Shri

    #5800

    In reply to: Shortcodes not working

    Timeu OliveiraTimeu Oliveira
    Member
    • Topics: 6
    • Replies: 5
    • Total: 11
    Member since: April 14, 2015

    there one more thing… i need to translate that fields on the footer (Main Menu, Contact, Useful Links…)

    If I do this directly on the php files every theme update I’ll loose the translation correct? What’s the best way to translate it?

    #5781

    In reply to: Read more button

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

    Hi,

    Kindly check header.php via Appearance>Editor>header.php

    And search read more. There is only 1 so you won’t have difficulty.

    Regards,
    Shri

    #5754
    Atle NæssAtle Næss
    Member
    Member since: April 13, 2015

    I have buy template : Hotell (Stay Here) to day

    After i have installed tempate

    I can’t not log in at wp-admin?

    Message:Warning: Cannot modify header information – headers already sent by (output started at /home/plosiva/public_html/wp-content/themes/hotel_theme_01/inc/skt_functions.php:1043) in /home/plosiva/public_html/wp-includes/pluggable.php on line 1178

     

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

    Hi,

    Sorry for this. Usually we try to resolve every customer issue. Again apologize but we couldn’t solve it.

    header.php line no: 68 to 94 = js code for the homepage slider.

    style.css line no. 829 to last line = css code for the slider.

    If you are able to resolve just let us know how.

    Regards,
    Shri

    #5315
    Maickel OtteMaickel Otte
    Member
    • Topics: 14
    • Replies: 22
    • Total: 36
    Member since: March 24, 2015

    that did the trick!!! 🙂 Great…..

    But still  now i miss my site title even when I paste back <h1><?php bloginfo(‘name’); ?> in the HEADER.PHP

    #5313
    Maickel OtteMaickel Otte
    Member
    • Topics: 14
    • Replies: 22
    • Total: 36
    Member since: March 24, 2015

    Yes that is the one, that needs to be removed!

    (by the way, now i miss my site title even when I paste back <h1><?php bloginfo(‘name’); ?> in the HEADER.PHP

    🙁

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

    Hi,

    Appearance>Editor>header.php line number 97.
     <h1><?php bloginfo(‘name’); ?></h1>
    remove this
    Regards,
    Shri

    #5286
    Laura KohanLaura Kohan
    Member
    • Topics: 2
    • Replies: 5
    • Total: 7
    Member since: December 28, 2014

    Hi, it wasn’t a problem, per se, is the way things are saved into the database.

    When I am one Pro is activated, two rows are created in the options table: optionsframework_iamonepro (all theme cstomizations like logo, favicon, I am one Pro sections) and theme_mods_iamonepro (menus already asigned, widgets etc).

    All the settings for the theme go there.

    When creating a child theme and activating it, wordpress creates two new row for the theme which are clean optionsframework_childthemename and theme_mods_childthemename.

    What I did was to activate the child theme so that these two rows were created, then disabled the child theme again (wasn’t sure if I would modify them while it was active), copied the values from the rows for I am one pro and used them to do an update on my child theme option rows, then I reactivated the Child Theme and everything that had already been set up on the parent them was there on my child theme 🙂

    Apparently there  is another way, you can customize the name of those two variables in functions.php so that the child theme uses the same options name as the parent theme instead of creating new ones, that way if you switch between the parent and child theme all the options are retains because it is really using the same options. But I went the other way and it worked.

    Hope this helps

     

     

     

    #5216

    In reply to: Hide Social Section

    Jorge Esteban Pitta BayonaJorge Esteban Pitta Bayona
    Member
    • Topics: 0
    • Replies: 4
    • Total: 4
    Member since: March 30, 2015

    Hello, I am trying to erase the social section but by placing code: <Style section = “background-color: <? Php echo of_get_option (‘socialseccolor’, true); ?>; Display: none; “>

    I actually deletes this session but I also deleted the last section of data, how do I delete just the social section?  http://documentalenterprise.com/

     

Viewing 15 results - 1,891 through 1,905 (of 1,996 total)