controlb
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Kyma] Slider: custom posts & heightThanks, but after all this I’ve decided to use a different theme.
Forum: Themes and Templates
In reply to: [Kyma] Slider 'Read more' link & homepage contentThanks, but after all this I’ve decided to use a different theme.
Forum: Themes and Templates
In reply to: [Flat Responsive] How to change homepage image?I’ve answered my own question: I don’t need to know how to do the first part if I can do the second.
In the child version of functions.php:
function flat_responsive_widgets_child() { register_sidebar( array( 'name' => __( 'Widget Name Here', 'flat-responsive' ), 'id' => 'widget-name-here', 'description' => __( 'This is the wide homepage banner space.', 'flat-responsive' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '', 'after_title' => '', ) ); } add_action( 'widgets_init', 'flat_responsive_widgets_child' );and in the child version of header.php before
<!--End of Style Store Banner-->:<?php if ( ! is_active_sidebar( 'widget-name-here' ) ): return; elseif(is_active_sidebar( 'widget-name-here' ) ): dynamic_sidebar( 'widget-name-here' ); endif; ?>Then shove anything required into Widget Name Here on the Widgets page.
Forum: Themes and Templates
In reply to: [Kyma] Slider 'Read more' link & homepage contentNo, that’s not right.
Say I’ve set my static homepage to be the page ‘My Homepage’. I put content on this page within the regular WP editor e.g. “Hi, welcome to this website [shortcode_example] etc.”
But when I set up the Kyma homepage options, the homepage content doesn’t appear.
I want the homepage content that I’ve created to appear on the homepage beneath the slider.
Forum: Themes and Templates
In reply to: [Kyma] Slider: custom posts & heightNo, because I did exactly what you said and the slider ignores it and takes the slider height from the image instead.
Forum: Themes and Templates
In reply to: [Kyma] Slider: custom posts & heightThat’s exactly what I did; it ignores that and takes the height from the image instead.
Forum: Themes and Templates
In reply to: [Kyma] Slider: custom posts & heightHi,
It looks like the slider defaults to the height of the image used, instead of doing the equivalent of ‘background-size: cover’, which is what’s needed here, particularly with images of different sizes.
I’ve tried making the height change to both theme setup functions but the slider only pays attention to the image size.
I’ve also tried changing the wrapper height via the CSS, but this either distorts the image or knocks the text lines down.
Forum: Themes and Templates
In reply to: [Kyma] Slider 'Read more' link & homepage contentHi,
Does that mean on the paid version, I can point the link on a slide to any other page instead of the same post that makes the slide?
And how can I get content from the homepage (Settings > Reading > Static > My Homepage) to appear under the slider on the homepage?
Forum: Themes and Templates
In reply to: [Kyma] Slider: custom posts & heightIs there any way of changing the slider size in Kyma-Child? I tried copying over the whole kyma_theme_setup function but got a server error.
Forum: Themes and Templates
In reply to: [Kyma] Slider: custom posts & heightThanks for fixing issue 2.
Issue 1: a screenshot wouldn’t help unfortunately. Do you know the Events Manager plugin? It creates events as posts, however the posts are not shown as regular posts. I’m looking at EM for a solution but if you can come up with an idea that’d be very helpful.
Forum: Themes and Templates
In reply to: [Kyma] Customiser not working in Kyma child themeSorry, I missed the notification, thanks for responding.
Looks like it’s working, many thanks.
Forum: Plugins
In reply to: [WP Help] Create help docs outside viewable admin?WP Help looks to be back-end solely. We’re going to be using the standard WP blog category with a manually built menu behind login permissions on the live site instead.
Not quite as whizzy as having a plugin to do it all for you, but perfectly fine nonetheless.
Forum: Plugins
In reply to: [Raptor Editor] Problem with auto-hooked codeI think I’ve got the same problem: if you have a shortcode that adds content to a page, Raptor will save the content back to the page and write over the shortcode.
For example, if you use the Testimonials Widget (TW) in amongst the content of a page using a shortcode, then edit something else on that page and save it via Raptor, the code generated by TW is also saved and “hard coded” into the content instead of the shortcode. This means that any further testimonials will be ignored by that page, and you have to go back into the regular WP editor to delete the “hard code” and replace it with the shortcode EVERY time.
This appears to be true of all shortcoded widgets when added to the content. Is there any way to get Raptor to avoid editing anything within [shortcode brackets]?
Forum: Plugins
In reply to: [WP Parallax Content Slider] Swapping Image and Text AroundFinally worked it out!
I swapped all instances of the da-img animation number (e.g. ‘4’ in ‘fromRightAnim4’) for the h2 and p ones. (I don’t use .da-link so that doesn’t feature in the solution.)
So for example, this:
.da-slide-fromright h2{ -webkit-animation: fromRightAnim1 0.6s ease-in 0.8s both; ... .da-slide-fromright p{ -webkit-animation: fromRightAnim2 0.6s ease-in 0.8s both; ... .da-slide-fromright .da-img{ -webkit-animation: fromRightAnim4 0.6s ease-in 0.8s both; ...becomes this:
.da-slide-fromright h2{ -webkit-animation: fromRightAnim4 0.6s ease-in 0.8s both; ... .da-slide-fromright p{ -webkit-animation: fromRightAnim4 0.6s ease-in 0.8s both; ... .da-slide-fromright .da-img{ -webkit-animation: fromRightAnim1 0.6s ease-in 0.8s both; ...I also changed all the 60% values to 40%, but that was pretty much it.
I’ve posted the full CSS up at http://shorttext.com/QJ52sSlsoCFXnoA for you to check out. Notice I tagged up all the original values too – I took a bunch of wrong turns before I got there.
Forum: Plugins
In reply to: [WP Parallax Content Slider] Need help with ParallaxI’d suggest using Shortcode PHP Exec to put the PHP into a shortcode you can use wherever:
http://ww.wp.xz.cn/extend/plugins/shortcode-exec-php/