Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,531 through 1,545 (of 2,006 total)
  • Author
    Search Results
  • #33533
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31303
    • Total: 31303
    Member since: August 16, 2013

    Hi Matt,

    Kindly go to appearance>editor>custom-functions.php and check testimonials function and change excerpt to content

    It should show the full text.

    If you have difficulty we can do it on one of your sites and you can copy the custom-functions.php into rest of your sites.

    Regards,
    Dave

    #33467
    MarnieMarnie
    Member
    Member since: May 5, 2016

    I downloaded the php files and the css, but there are no html files in order to make coding changes. I want to make specific changes. How do I do this?

    Thank you.

    Marnie MacKay

    #33452
    PetrPetr
    Member
    Member since: May 1, 2016

    Hello,

    I would like to make the multilevel menus on other levels show the whole journey and not just the name of the last page?

    Example: When I was on the second level page displays the full path – Level 1 – Level 2nd

    The ideal for me would be if the menu but it looked something like this:http://www.vaclavsojka.cz/gallery.php?co=36

    to other levels were directly visible

    Sorry for the English, if you need access to my site just write

    Thanks a lot

    Petr

    #33408

    In reply to: Booking-function

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

    Hi,

    Kindly use this plugin: https://wordpress.org/plugins/allow-php-execute/ which allows execution of php in pages and then you can run it in a page.

    Regards,
    Brad

    #33392
    GeirGeir
    Member
    Member since: March 9, 2016

    Hello!

    I have created my own booking-function with PHP that I want to integrate into my SKT Stay Here Theme. But I’m not sure how to do that.

    Is there a shortcode to include my function in a page?
    Where to I put the PHP-files for the function?

    #33381

    In reply to: Color in Pro-Theme

    SimoneSimone
    Member
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: May 3, 2016

    Thanks for your quick reply.

    It appears Theme Options do not work as I am using a Child-Theme which I needed as I do not want the Slider to show on Frontpage.

    Is there any CSS or Function-File that I need to switch to the Child Theme as well rather than just style.css and header.php to habe the Theme Options-Setting work on the Child-Theme as well?

    Or is there even a possibility to deactivate the Slider on Frontpage without using a Child Theme?

    #33346
    LenkaLenka
    Member
    • Topics: 6
    • Replies: 16
    • Total: 22
    Member since: March 30, 2016

    Hello Dave,

    My problem is with buttons “Read More” on homepage in the three boxes under main banner.I need so that each buttons had a specific link(for example: first Read more – http://www.mujkouc.bartvisions.cz/hledam-kouce/). I tried change link from “#” to this link in index-default.php – (Read more), but on homepage do not work this button. Down on homepage on status bar still show http://www.mujkouc.bartvisions.cz/#

    I sent URL and admin details to your contact.

    Thanks.

    #33299

    In reply to: Google Fonts – SSL

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

    Hi,

    Kindly check custom-functions.php via appearance>editor

    Remove the http from front of Google font or change http to https and it should work fine.

    Regards,
    Shri

    #33197
    AndreaAndrea
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: May 8, 2016

    Hi Eva,

    have you tried adding the entire piece of code?

    go to header.php
    find the start of the header:

    <head>

    enter the entire line of verification code:

    <meta name=”google-site-verification” content=”here-will-be-your-own-specific-code” />

    it must now look like:

    <head><meta name=”google-site-verification” content=”here-will-be-your-own-specific-code” />

    then go to the bottom of the page and click on ‘update file’

    I had no luck with the google verification plugins, but this always worked for me. After updating, you can go back to your google webmaster tools and verify your domain.

    Try again! – Good luck, Andrea

    #33189
    EvaEva
    Participant
    Member since: January 16, 2016

    Hi
    I have been trying countless times to install different codes either in the header or footer.php and they won’t get verified by the various programmes. I also tried multiple plugins to do the job, but without success. The only working ones are the Google Analytics and Facebook pixel. Why am I not able to add any codes with header and footer plugins?
    Could you please tell me where to add the codes exactly in case I’m doing something wrong?
    I’m using SKT Bakery Pro theme
    Thank you

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

    Hi Stuart,

    Kindly go to inc/template-tags.php to change the text “Post Navigation”.

    Regards,
    Dave

    #33086
    William GibsonWilliam Gibson
    Member
    • Topics: 2
    • Replies: 8
    • Total: 10
    Member since: October 21, 2015

    Your welcome. I knew there was post-thumb code in there somewhere, I just had to find it. LOL
    I’m using a child-theme, so it was only a matter of copying over the content-single.php to the child theme folder and then edit it there. If it broke anything, I only needed to delete the copied file.

    #33081
    William GibsonWilliam Gibson
    Member
    • Topics: 2
    • Replies: 8
    • Total: 10
    Member since: October 21, 2015

    HA! I figured it out. In content-single.php, remove the following code:

    <div class="post-thumb">
    			<?php if (has_post_thumbnail() )
    				the_post_thumbnail();
    				?>
    		</div><br />
    		

    Removing that bit of code removes the featured image from each post, but still allows it to show in the background as well as on the blog page.

    #33060
    LimontLimont
    Member
    • Topics: 2
    • Replies: 4
    • Total: 6
    Member since: April 3, 2016

    Hi. I am now trying to change the text in the slider so that it does not appear as a heading, but rather as normal text. I can’t locate the .php where this is referenced. Please can you point me to this.

    #32950
    Brian DimitroffBrian Dimitroff
    Member
    • Topics: 3
    • Replies: 3
    • Total: 6
    Member since: April 10, 2015

    Hmm… I successfully made the change but it didn’t fix it. Any other ideas? When I take a look at the page source in a browser, it looks like the problem is that the <div class=”news-box”> container isn’t getting closed with a </div> after each post. Instead, each new post is getting inserted into the <div class=news-box> element of the post before it, and all the closing tags are just being stacked at the end of the section.

    Here’s the latestposts code from my custom-functions.php file:

    function latestpostsoutput_func( $atts ){
       extract( shortcode_atts( array(
    		'show' => '',
    	), $atts ) );
    	$postoutput = '';
    	wp_reset_query();
    	$n = 0;
    	query_posts(  array( 'posts_per_page'=>$show, 'post__not_in' => get_option('sticky_posts') )  );
    	if ( have_posts() ) :
    		while ( have_posts() ) : the_post();
    			$n++;
    			if( $n%2==0 )  $nomgn = 'last';	else $nomgn = ' ';
    			if ( has_post_thumbnail()) {
    				$large_imgSrc = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large');
    				$imgUrl = $large_imgSrc[0];
    			}else{
    				$imgUrl = get_template_directory_uri().'/images/img_404.png';
    			}
    			$postoutput .= '<div class="news-box '.$nomgn.'">
    								<div class="news-thumb">
    									<a href="'.get_the_permalink().'"><img src="'.$imgUrl.'" alt=" " /></a>
    								</div>
    								<div class="news">
    									<div class="date-news">
    										<span class="newsdate">'.get_the_time('d').'</span>
    										<span>'.get_the_time('M').'</span>
    									</div>
    									<a href="'.get_permalink().'"><h4>'.get_the_title().'</h4></a>
    									 '.wp_trim_words( get_the_content(), 20, '' ).' 
    								</div>
                            </div>';	
    						$postoutput .= ''.(($n%2==0) ? '<div class="clear"></div>' : '');	
    		endwhile;
    	endif;
    	wp_reset_query();
    	return $postoutput;
    }
    add_shortcode( 'latestposts', 'latestpostsoutput_func' );
    
Viewing 15 results - 1,531 through 1,545 (of 2,006 total)