Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,621 through 1,635 (of 2,005 total)
  • Author
    Search Results
  • #27641
    SueSue
    Member
    • Topics: 1
    • Replies: 2
    • Total: 3
    Member since: March 22, 2016

    For the number of Services found that I can edit the Main Index Template (index.php) and change $fx<5 to $fx<2 here:
    <div class=”services-wrap fadeInLeft”>
    <?php for($fx=1; $fx<2; $fx++) { ?>

    #27474

    In reply to: Woocommerce Reviews

    JohnJohn
    Member
    • Topics: 9
    • Replies: 24
    • Total: 33
    Member since: February 3, 2016

    One last question. I am trying to make custom redirects. I was told how to do it by going through my themes functions.php file. Is this in fact the way to do it? If not, what would you advise? If it is will the work I do be deleted when there is an update?

    #27440
    Robert FarlowRobert Farlow
    Member
    Member since: December 2, 2015

    Is there a way to make the whole slider link instead of just the Read More button? I have made the button display none and would like to make the whole slider image link instead.

    Do you have a quick PHP code update to make this happen?

    Website: http://new.sidequestfitness.com/

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

    Hi Matthias,

    Find This Line In Heder.php

    <a class="slide_more" href="<?php echo of_get_option('slideurl'.$sln, true); ?>">Read More</a>

    And Replace With:

    <a class="slide_more" href="<?php echo of_get_option('slideurl'.$sln, true); ?>"><?php _e('Read More', 'healingtouch');?></a>

    Regards,
    Dave

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

    Hi Fabio,

    I have changed some code in index.php file. Now you have the updated index.php file on your both websites.

    I have added this code:

    Top of the page:

    <?php if ( 'page' == get_option( 'show_on_front' ) && ( '' != get_option( 'page_for_posts' ) ) && $wp_query->get_queried_object_id() == get_option( 'page_for_posts' ) ) : ?>

    Bottom of the page:

    <?php else: ?>
    <?php endif; ?>

    Regards,
    Dave

    #27121
    MatthiasMatthias
    Member
    • Topics: 4
    • Replies: 14
    • Total: 18
    Member since: January 19, 2016

    Hi Dave,

    Thank you very much. I meant the “Read More” buttons in the Homepage sliders.
    Changing “Read More” in index.php seams to change only the buttons in the featured boxes in “Sections”.

    Best Regards

    Matthias

    #27060
    CatherineCatherine
    Member
    Member since: March 6, 2016

    Having problems with Sections on website.

    http://planonline.ie/wp-admin/customize.php?return=%2Fwp-admin%2Fthemes.php
    Section 2 disappeared when they don’t like what i change etc. gone blank now, don’t want to have to start again but may have to.
    another issue is how do i link the ‘read more’ in that section to a page, i have tried to put link on the text, but 404 error comes up.
    Thanks

    #27046

    In reply to: Woocommerce Reviews

    JohnJohn
    Member
    • Topics: 9
    • Replies: 24
    • Total: 33
    Member since: February 3, 2016

    I went to the BeFit Theme Functions.php and come across this in the section if this is what you are speaking of do I delete the whole line or just the words?

    wp_enqueue_style( ‘skt_befit-basic-style’, get_stylesheet_uri() );
    wp_enqueue_style( ‘skt_befit-editor-style’, get_template_directory_uri().’/editor-style.css’ );
    wp_enqueue_style( ‘skt_befit-base-style’, get_template_directory_uri().’/css/style_base.css’ );
    wp_enqueue_style( ‘skt_befit-nivo-style’, get_template_directory_uri().’/css/nivo-slider.css’ );
    wp_enqueue_script( ‘skt_befit-nivo-slider’, get_template_directory_uri() . ‘/js/jquery.nivo.slider.js’, array(‘jquery’) );
    wp_enqueue_style( ‘skt_befit-prettyphoto-style’, get_template_directory_uri().’/css/prettyPhoto.css’ );
    wp_enqueue_script( ‘skt_befit-prettyphoto-script’, get_template_directory_uri() . ‘/js/jquery.prettyPhoto.js’, array(‘jquery’) );
    wp_enqueue_script( ‘skt_befit-customscripts’, get_template_directory_uri() . ‘/js/custom.js’, array(‘jquery’) );
    wp_enqueue_script( ‘skt_befit-smooth-scroll’, get_template_directory_uri() . ‘/js/smooth-scroll.js’, array(‘jquery’) );
    wp_enqueue_script( ‘skt_befit-filter-scripts’, get_template_directory_uri().’/js/filter-gallery.js’ );
    wp_enqueue_style( ‘skt_befit-font-awesome-style’, get_template_directory_uri().’/css/font-awesome.min.css’ );
    wp_enqueue_script( ‘skt_befit-testimonialsminjs’, get_template_directory_uri().’/testimonials-rotator/js/jquery.quovolver.min.js’ );
    wp_enqueue_script( ‘skt_befit-testimonials-bootstrap’, get_template_directory_uri().’/testimonials-rotator/js/bootstrap.js’ );
    wp_enqueue_style( ‘skt_befit-testimonialslider-style’, get_template_directory_uri().’/testimonials-rotator/js/tm-rotator.css’ );
    wp_enqueue_style( ‘skt_befit-animation-style’, get_template_directory_uri().’/css/animation.css’ );
    wp_enqueue_style( ‘skt_befit-responsive-style’, get_template_directory_uri().’/css/theme-responsive.css’ );

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

    Hi Matthias,

    Kindly go to index.php and search for read more and change it in your language.

    For the slider images use 1420px wide and 300px height images.

    Regards,
    Dave

    #26977
    MatthiasMatthias
    Member
    Member since: January 19, 2016

    Hello,

    I would like to translate the “Read More” buttons in the Homepage sliders to german language. How can I do this? Do I have to change PHP code?
    Is it possible to reduce the size of the images in the sliders?

    Best Regards

    Matthias

    #26973
    GailGail
    Participant
    • Topics: 1
    • Replies: 7
    • Total: 8
    Member since: March 5, 2016

    The suggestion from Shri will remove the slider on most other pages. However, we have a front page that is a static page, with our blog on another page (called “news”). The home page slider and 4 boxes appear on both pages. To remove it from the “news” page, SKT support suggested using Dashboard > Appearance > Theme Options > Basic Settings > custom CSS and entering CSS to hide the home page slider and 4 boxes on the “news” page.

    The CSS would be:
    body.blog .slider-main, body.blog section#wrapone {
    display:none;
    }

    However, even though the CSS successfully hides these items, I believe that the browser will still fetch the images and execute the JavaScript. (I could be wrong on this.) This adds an unnecessary burden to both the web server and browser. The PHP should really not generate the objects in the first place.

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

    Hi Lee,

    I have changed some code in index.php

    Regards,
    Brad

    #26706
    JacquesJacques
    Member
    Member since: March 4, 2016

    Hello,

    I’m trying to make the entire Featured box clickable, instead of just the ‘Click to read more’ button. If this is possible, I would also like to remove said button, because it’s no longer needed.
    I have already edited the HTML in index-default.php but this didn’t work.

    Thanks in advance.

    #26691
    RonaldRonald
    Member
    • Topics: 4
    • Replies: 16
    • Total: 20
    Member since: February 27, 2016

    Hi Shri,

    Maybe you should update the source code for ‘Hotel/stay here’ ../inc/custom-functions.php

    As stated by Juan Garces (msg. #17131) you need to change the code within the file skt_hotel\inc\custom-functions.php from “gallery_category” to “gallerycategory” else the gallery shortcode will NOT display the selected gallery.

    [portfolio-thumbnail cat=”Category Name”] will display all the images in one gallery without changing the custom-functions.php

    [portfolio-thumbnail cat=”Category Name”] will display only the images in the gallery that is named ‘Catergory Name’ IF the changes are made within custom-functions.php

    Regards,

    Ronald

    #26386

    In reply to: Translate Read More

    Juan Antonio VillanuevaJuan Antonio Villanueva
    Member
    • Topics: 5
    • Replies: 4
    • Total: 9
    Member since: November 19, 2015

    I am also interested in this issue (translation).
    But not only the “Read more” button, also “categories”, “tags” …
    The page titles in 404.php, search.php, archive.php…
    Is it possible without editing each file?

Viewing 15 results - 1,621 through 1,635 (of 2,005 total)