Forum Replies Created
-
AuthorPosts
-
Harry
ParticipantHi 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;
}Harry
ParticipantThank you Sakin, I thought I could just click update from the dashboard.
Now I understand.Thanks again.
Harry
ParticipantPlease disregard this.
After playing around with it, now it works fine.
It could be a cache problem.
Harry
ParticipantPerfect!
Thank you so much.
Harry
ParticipantNow, hopefully I have the last question.:)
How do we make this embedded video responsive?
Harry
ParticipantIt works perfectly now.
Thank you Sakin. I love your job and service!
Harry
ParticipantHi Sakin,
I tried this, didn’t work.
I’m lost.
Harry
ParticipantThere is only one little problem;
It comes up on every page.How do i make it only on the home page?
Thanks Sakin.
Harry
ParticipantHi Sakin,
It works like magic.
Thank you so much.
Harry
ParticipantHi 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
}Harry
ParticipantTemporarily, I’m using a mobile menu plugin until you advice me to fix it.
Thank you.
Harry
ParticipantHi Sakin, here it is.
http://www.guitarstudio.com.au/Thank you.
Harry
ParticipantI have the same problem with Catch Responsive Pro.
I can’t see the menu on mobile device.
Please help.
Thanks.
Harry
ParticipantAlso, 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?
Harry
ParticipantThat works Sakin.
Thank you for your help.
Harry
ParticipantHi 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