Search Results for 'php'

Home Forums Search Search Results for 'php'

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

    for read more text:
    open functions.php file and go to line no. 393
    where you can see the “Read More” text in third row

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

    Hi,

    for slider caption and controllers:
    open header.php file and go to line no.85
    where you can see code line this:

    replace with this:

    Regards,
    Shri

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

    Hi,

    No. Kindly check header.php (Appearance>editor>header.php) and search read more to change the text.

    Regards,
    Shri

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

    Hi,

    2 ways of doing this:

    1. Editing the file at wp-content/themes/iamone-pro/inc/custom-functions.php

    Or

    2. Opening the pot file using poedit in languages folder (wp-content/themes/iamone-pro/languages/iamone.pot

    And then updating the languages of all the English to the default one you need.

    Regards,
    Shri

    #6537

    In reply to: Hide Social Section

    Jose NunesJose Nunes
    Member
    • Topics: 0
    • Replies: 1
    • Total: 1
    Member since: May 6, 2015

    Hi Go to Appearance – Editor –
    Footer (footer.php)
    delete everything and copy and paste the code below

    <?php

    /**

    * The template for displaying the footer.

    *

    * Contains the closing of the #content div and all content after

    *

    * @package SKT Biz

    */

    ?>

     

    <div id=”copyright”>

    <div class=”container”>

    <div class=”left”><?php echo of_get_option(‘footertext’, true); ?></div>

    <div class=”right”><?php echo of_get_option(‘footerlinks’, true); ?></div>

    <div class=”clear”></div>

     

    <?php wp_footer(); ?>

    </footer>

    </body>

    </html>

    #6430

    In reply to: Nature one pro help

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

    Lastly for single posts of the blog if you want to remove on that as well (sorry we will give this manageable in next version upgrade). Kindly do this:

    Click on Appearance>Editor>header.php line number 121. This is the code:

    <?php }  else { ?>

                                  <?php $thumbnailSrc = get_template_directory_uri().’/images/about-banner.jpg‘ ; ?>

                        <img src=”<?php bloginfo(‘template_url’); ?>/timthumb.php?src=<?php echo $thumbnailSrc; ?>&h=395&w=1398&zc=1&a=c” alt=”” />

                                  <?php } ?>

    I bolded the text which needs to be replaced.

    So upload any image sized: 1398 by 395 (if possible or similar ratio) via media library and get the url of the image.

    And replace that url of the image with the above bolded text.

     

    That’s it the default image would be replaced.

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

    Hi,

    Thanks for letting us into your WordPress. It appears you haven’t purchased WPML.

    If you have purchased WPML you need to enable it from here: http://www.sheyda.it/wp-admin/plugin-install.php?tab=commercial

    Because the same shortcodes i pasted into yours work here: http://moritz.feeddog.org/

    Regards,
    Shri

    #6367

    In reply to: Nature one pro help

    Mario SchubertMario Schubert
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: April 24, 2015

    Thanks for this quick reply. Unfortunately it doesn’t work.

    I changed the line<p><a href=”<?php echo of_get_option(‘slideurl’.$sln,true); ?>”><?php _e(‘Read More…’,’skt-natureone’); ?></a></p>
    to
    <p><a href=”<?php echo of_get_option(‘slideurl’.$sln,true); ?>”><?php _e(”,’skt-natureone’); ?></a></p>
    but nothing happens. The text “Read More…” is still there.

    #6345
    Altieri FrancescoAltieri Francesco
    Participant
    • Topics: 2
    • Replies: 5
    • Total: 7
    Member since: April 24, 2015

    Hi shri,
    thanx for your reply, i tried your method, but seems that the theme catch the code as text.

    u can see the effect on : www.altfra.it/test4

    in “our service” section, beyond the 4 boxes.

    and i would also u to segnalate that the function in wpml plugin, to translate the string, recognises the string to translate ( an example “latest post”) and gives me the chance to translate it, but after saving, in main site when i change the language, the text remains the same.

    Pls help.

    Regards.

    Francesco

    #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

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