Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,966 through 1,980 (of 1,993 total)
  • Author
    Search Results
  • #2152
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    Hi Thore,

    Kindly check wp-content/themes/skt-full-width-pro/functions.php

    Within this there is an area which defines slider transition, speed, etc. Let us know if you have any troubles finding it.

    Sorry for the delay in reply due to weekend.

    Regards,
    Shri

    #1980
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    Hi,

    Well for that you need to edit the code a bit. The way it is coded right now is to show excerpts from the content and nothing else.

    But for you, you have to change it to showing content and then manually for each post use the more tag given within WordPress editor area of a post.

    Or else add a code within functions.php to grab video from content.

    Or else use a plugin: https://wordpress.org/plugins/vipers-video-quicktags/

    I know i am not giving one definite answer because i don’t know whether you are a developer or someone non technical.

    Also in case you can send us your WordPress site with admin and ftp details at our email: [email protected] we can check if we can do something quickly for you to get videos on short version of your posts.

    Regards,
    Shri

    #1979

    In reply to: Footer Menu

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

    Hi,

    Within footer.php you will find all the codes used for the widgets. There are 2 widgets: Recent Tweets (which you can change from Appearance>Widgets and add your own) and Photo Stream (Add anything on your own).

    In case you want to change the other 2 i.e. Follow us and Contact Us you have to remove the code from Footer.php

    In case this is difficult for you and you need all 4 of them widgetized send us FTP details and WP Admin details via email: [email protected] and we will get this done for you.

    Regards,
    Shri

    #1971
    Claudio PancieraClaudio Panciera
    Member
    • Topics: 1
    • Replies: 2
    • Total: 3
    Member since: August 2, 2014

    Thanks also for the second answer, and for your test.

    I also studied and try the code, and I solved (without plugin).

    To erase the errors I’ve added the right code at the right level of the file “content-page.php”

    Bye

    #1887
    Andrew HallAndrew Hall
    Member
    • Topics: 2
    • Replies: 2
    • Total: 4
    Member since: September 19, 2014

    I figured it out.

    I needed an <?php endif; ?> at the end.

    #1886
    Andrew HallAndrew Hall
    Member
    • Topics: 2
    • Replies: 2
    • Total: 4
    Member since: September 19, 2014

    I did what you said, but I am getting the below error:

    Parse error: syntax error, unexpected ‘=’ in C:\xampp\htdocs\www.d-dub.com\wp-content\themes\skt_full_width_pro\page-bonetown.php on line 5

    To make sure I am doing it right, let me tell you what I did. I replaced <?php if( (is_home() && get_option(‘page_for_posts’)) || is_front_page() ) { ?> with the code <?php query_posts(‘category_name=CATEGORYNAME&showposts=5′); (adding a ?> at the end, which you didn’t have, but I assume should be there).

    Next I replaced CATEROYNAME with my category slug name.

    Under this code I added <?php if( have_posts() ) : ?>

    Finally, I deleted <?php } else { ?>

    Right now I am only working on a localhost, so there is no ftp to upload to.

    Here is the code:

    <?php
    /* Template Name: About Game Page */
    get_header(); ?>

    <?php query_posts(‘category_name = aboutgame & showposts=5′); ?>

    <?php if( have_posts() ) : ?>

    <div id=”primary” class=”content-area”>
    <div id=”content” class=”site-content container”>
    <main id=”main” class=”site-main” role=”main”>
    <header class=”page”><h1 class=”entry-title”>Blog</h1></header>
    <div class=”blog-post”>
    <?php if( have_posts() ) : ?>
    <?php while( have_posts() ) : the_post(); ?>
    <?php get_template_part( ‘content’, get_post_format() ); ?>
    <?php endwhile; ?>
    <?php skt_full_width_pagination(); ?>
    <?php else : ?>
    <?php get_template_part( ‘no-results’, ‘index’ ); ?>
    <?php endif; ?>
    </div><!– blog-post –>
    <?php get_sidebar(); ?>
    <div class=”clear”></div>
    </main><!– main –>
    <?php get_footer(); ?>

    </div>
    </div>
    </body>
    </html>

    <?php } ?>

    #1884
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    Hi,

    All you need to do is create another page template copying the contents of index.php How to create a page template is given here: http://codex.wordpress.org/Page_Templates

    Within index.php remove the line: <?php if( (is_home() && get_option(‘page_for_posts’)) || is_front_page() ) { ?>

    And also remove this line: <?php } else { ?>

    And then add this code above: <?php query_posts(‘category_name=CATEGORYNAME&showposts=5’);

    <?php if( have_posts() ) : ?>

    Replace CATRGORYNAME with your category name

    This will show blog with category.

    In case its difficult for you we can create one template for you provided you send us FTP details of the folder where your site is (without ftp and with only WordPress we can’t do).

    Regards,
    Shri

    #1821
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    Hi,

     

    For author here is what you need to do. Add this in header.php above </head> tag

    <span class=”vcard author”><span class=”fn”>

    by <a href=”http://google.com/profiles/1234567890123456789″

    rel=”author”>YOUR NAME</a>

    </span></span>

     

    Replace 1234567890123456789 and YOUR NAME with your personal things 🙂

     

    Regards,

     

    Shri

    #1815

    In reply to: Google Code

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

    Hi,

    Just above these lines: Just above in footer.php place your google analytics code. Or else use a plugin like: https://wordpress.org/plugins/google-analytics-for-wordpress/

    #1809
    Tami SiewrukTami Siewruk
    Member
    • Topics: 8
    • Replies: 10
    • Total: 18
    Member since: September 5, 2014

    I’ve replicated home, index and footer.php to the other sites, but those links are not working either.  I suppose I’ll replicate the entire theme and backup the style sheet changes.

    Can you please tell us how to remove the pause button, the left and right arrows and the slider page numbers?  This is interfering with the footer information.  We will put the titles on the photos themselves.

    Almost there!

    #1800

    In reply to: Google Code

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

    Kindly check footer.php wp-content/skt-full-width-pro/footer.php

    Place your code just above and closing tags.

    Since you are loading footer even on home page it will do.

    Regards,
    Shri

    #1768
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    Hi Heather,

    1. All you need to do is go to css folder within theme folder: skt_full_width_pro and click on main.css

    Kindly visit line number 178 or h3.company-title:first-letter

    Change: color: #7bb303; with your own color like: color: #fff !important;

    Don’t forget the !important i have added above.

    2. Kindly check index.php which loads up the home page slider. Include the footer.php in index.php like we do in other pages:

    And this should include the footer.

    Regards,
    Shri

    #1737

    In reply to: paragraph text white

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

    Hi,

    Unfortunately the title of slider is linked to theme color. So whatever color you choose is appearing there. In case you want to keep it different color than the rest of the site let me know then we will have to let you know how to remove that color from functions.php so it isn’t from options but from css.

    Regards,
    Shri

    #1706
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    Hi,

    Sorry for late reply. I realized this topic was attended but then saw it still open.

    Okay kindly check: wp-content/themes/dentist_theme/page_templates/contact.php

    This is the page template i have been talking about.

    You can also go to pages: edit any page or add new and from the drop down of page templates select contact page template to set up the same code.

    Regards,
    Shri

    #1624

    In reply to: Edit Home Page Boxes

    Colin EyreColin Eyre
    Participant
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: July 14, 2014

    Hello Shri,

    Thank you for your reply.

    I can see the code within the footer.php file that controls the 4 boxes but
    I don’t understand where it is getting the 4 link buttons from ? I can see
    where to change the links on the buttons (Appearance > Theme Options) but I
    can’t see where I can actually change the button images. Where can I change
    these ?

    regards,
    Colin Eyre

Viewing 15 results - 1,966 through 1,980 (of 1,993 total)