Forum Replies Created
-
AuthorPosts
-
HarryParticipant
Hi Sakin,
I think stuffed up my function.php on my website.
I used Catch Responsive Pro Child Theme.
This is my full code, would you please kindly check and see what I did wrong?
<?php
//
// Recommended way to include parent theme styles.
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}
//
// Your code goes below
//function catchresponsive_featured_slider() {
if ( is_front_page() ) : ?>
<section id=”feature-slider”>
<div class=”wrapper hentry”>
“My video embedded code”
</div><!– .wrapper –>
</section><!– #feature-slider –>
<?php endif;
}HarryParticipantThank you Sakin, I thought I could just click update from the dashboard.
Now I understand.Thanks again.
HarryParticipantPlease disregard this.
After playing around with it, now it works fine.
It could be a cache problem.
HarryParticipantPerfect!
Thank you so much.
HarryParticipantNow, hopefully I have the last question.:)
How do we make this embedded video responsive?
HarryParticipantIt works perfectly now.
Thank you Sakin. I love your job and service!
HarryParticipantHi Sakin,
I tried this, didn’t work.
I’m lost.
HarryParticipantThere is only one little problem;
It comes up on every page.How do i make it only on the home page?
Thanks Sakin.
HarryParticipantHi Sakin,
It works like magic.
Thank you so much.
HarryParticipantHi Sakin,
Thank you for your respond.
I’ve been using a child theme. When I added this code on in the functions.php, it doesn’t work.
Here is the complete code, please let me know if i did anything wrong:
<?php
//
// Recommended way to include parent theme styles.
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}
//
// Your code goes below
//function catchresponsive_featured_slider() { ?>
<section id=”feature-slider”>
<div class=”wrapper”>
Add in Video here
</div><!– .wrapper –>
</section><!– #feature-slider –>
<?php
}HarryParticipantTemporarily, I’m using a mobile menu plugin until you advice me to fix it.
Thank you.
HarryParticipantHi Sakin, here it is.
http://www.guitarstudio.com.au/Thank you.
HarryParticipantI have the same problem with Catch Responsive Pro.
I can’t see the menu on mobile device.
Please help.
Thanks.
HarryParticipantAlso, I’d like to let you know that I really like this theme. The only thing that I wish it has on it was “Featured Content” under the Home Page Slider.
Or this is something that we can ad?
HarryParticipantThat works Sakin.
Thank you for your help.
HarryParticipantHi Sakin, when I used the free one, i used Breadcrumbs of the SEO by Yoast, but when i use the Pro, it doesn’t work.
-
AuthorPosts