Viewing 20 results - 941 through 960 (of 3,446 total)
  • Author
    Search Results
  • #112362
    Pratik
    Member

    Hi @webtrader,

    Add following code in your child theme’s functions.php file.

    
    /**
     * Modify parent slider option to randomize the slider
     */
    function helena_featured_slider() {
    	//helena_flush_transients();
    	global $wp_query;
    
    	$enable_slider = apply_filters( 'helena_get_option', 'featured_slider_option' );
    
    	// Get Page ID outside Loop
    	$page_id = $wp_query->get_queried_object_id();
    
    	// Front page displays in Reading Settings
    	$page_for_posts = get_option( 'page_for_posts' );
    
    	if ( 'entire-site' == $enable_slider  || ( ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) && 'homepage' == $enable_slider  ) ) {
    		if ( ( !$output = get_transient( 'helena_featured_slider' ) ) ) {
    			echo '<!-- refreshing cache -->';
    
    			$output = '
    				<section id="feature-slider">
    					<div class="wrapper">
    						<div class="cycle-slideshow"
    						    data-cycle-log="false"
    						    data-cycle-pause-on-hover="true"
    						    data-cycle-swipe="true"
    						    data-cycle-random="true"
    						    data-cycle-fx="' . esc_attr( apply_filters( 'helena_get_option', 'featured_slider_transition_effect' ) ) . '"
    							data-cycle-speed="' . esc_attr( apply_filters( 'helena_get_option', 'featured_slider_transition_length' ) ) * 1000 . '"
    							data-cycle-timeout="' . esc_attr( apply_filters( 'helena_get_option', 'featured_slider_transition_delay' ) ) * 1000 . '"
    							data-cycle-loader="' . esc_attr( apply_filters( 'helena_get_option', 'featured_slider_image_loader' ) ) . '"
    							data-cycle-slides="> article"
    							>
    
    						    <!-- prev/next links -->
    						    <div class="cycle-prev"></div>
    						    <div class="cycle-next"></div>
    
    						    <!-- empty element for pager links -->
    	    					<div class="cycle-pager"></div>';
    
    	    					$select_slider 	= apply_filters( 'helena_get_option', 'featured_slider_type' );
    
    							// Select Slider
    							if ( 'demo-featured-slider' == $select_slider ) {
    								$output .= helena_demo_slider();
    							}
    							else if ( 'featured-post-slider' == $select_slider || 'featured-page-slider' == $select_slider || 'featured-category-slider' == $select_slider ) {
    								$output .= helena_post_page_category_slider();
    							}
    							elseif ( 'featured-image-slider' == $select_slider  ) {
    								$output .= helena_image_slider();
    							}
    
    			$output .= '
    						</div><!-- .cycle-slideshow -->
    					</div><!-- .wrapper -->
    				</section><!-- #feature-slider -->';
    
    			set_transient( 'helena_featured_slider', $output, 86940 );
    		}
    		echo $output;
    	}
    }
    

    If this does not work, then I will need your site url. Let me know and I will email you to get the details for site url.

    Regards,
    Pratik

    #112308
    Sakin
    Keymaster

    @mtp525: The option to change the header image position is there in Catch Base Pro theme. In Pro version, you will get option “Featured Header Image Position” where you can select from “Before Header / Before Menu / After Menu / After Slider”. You can check out more about additional features in Pro version at https://catchthemes.com/theme-instructions/catch-base-pro

    If free version, if you want your logo to be at the top full width then you need to upload logo of at least 1200px width, then add the following css in “Appearance => Customize => Additional CSS”. But this is not recommended way to do it.
    #masthead, #masthead .wrapper, #site-branding { padding: 0; }

    #112285
    webtrader
    Member

    Is it possible to randomize the slides shown in the featured slider? On our home page, I do not always want the slides to be shown starting with the first slide. Every time someone visits the home page, I would like the order of slides to be randomized, or at least start on a random slides.

    If there is no way to set the slider to randomize via the GUI, is there an easy change somewhere in the code where I can pull the slides and perform a PHP shuffle() on the array of slides to be shown?

    Thank you.

    #112249
    simon olley
    Member

    Hi, with Catch Flames Pro, is it possible to have 3 or 4 images and short story – featured content – on the home page below the slider, like on Catch Everest Pro and Full Frame?

    Steven
    Member

    Hello,

    I have a few questions concerning the content elements (e.g., featured slider, portfolio, our professors, events, etc.) that I was hoping you could assist me with.

      1. Can these elements be renamed? (Not just changing the titles, but actually renaming the elements.)
      2. How can these elements be reordered on the homepage? For example, move the “Courses” element below the “Our Professors” element?
      3. How can you make an element show up on another page? For instance, if we have the courses element on the homepage, and then also want it on a subpage for courses, how is this possible without putting it on every single page?

    Thanks in advance for your help!

    #112122
    F
    Member

    Hi Pratik,

    I’ve created a demo site so you can see the issue I’m trying to resolve:

    https://sfurbanfarm.com/

    If you look at the Featured Slider at the top of the homepage, you will see that the excerpt appears but not the button that says Continue Reading. In the Helena Pro demo, the Featured Slider shows the excerpt plus the linked button. How do I achieve this for posts that are on the Featured Slider?

    Thanks!

    #111971
    francesca78
    Member

    about the text on featured post slider , I figure the only options are:
    no text at all
    or
    unchangeable number of words.

    how can I change the colour, character size and number of words on slider photos?

    my site is: http://www.gruppoentomologicotoscano.it

    #111918
    marie21
    Member

    Good morning Mahesh,

    Sorry for confusing you.

    My first problem is (actually it´s mayby my misunderstanding) if I use featured-page-slider and name the page in the title-line for example “Slider1” than normally the “slider1″ is be shown in the code if I check the side – right?!?
    But unfortunatelly the title=”” is still empty and the alt=”” as well.

    #111900
    omradiocom
    Member

    Many thanks Mahesh,
    It worked.
    The client then asked me for a couple of things that maybe you can share without much hassle.
    1. If I wanted to reduce the size of the “featured slider” to 1000px wide and use the second side to insert another widget (already named in the funtions as ‘twitterfeed’, where would that best be done?
    2. If I wanted to add an additional instance of a logo and large widget as a strip above the “fullframe-featured-slider” what would the best way to do that be? do it in the header.php near your ‘do-action’ statements or in another location?
    last
    3. If I wanted to have the 6 “featured content” items BELOW the content, is it best to simply remove it from the “fullframe_before_content” and place it in “fullframe_after_content”? or is there another way? And same thing, adding one additional Widget to that strip too.

    Thus the total row list would be:
    1. header strip at top (fixed-header)
    2. Logo / Banner widget
    3. Fullframe-slider/widget
    4. Content/Primary Widget
    5. Featured Content/Boxes – Widget
    6. Footer

    Make sense?
    I’m having a dig at the code anyway, so maybe I’ll figure it out.
    Thank you.
    C
    (trying to get client to put in some $ for pro theme. Have to get their answers all done first. “can you, can we, can it” time)

    #111844
    Mahesh
    Participant

    @themecatcher:
    Go to Dashboard=> Appearance=> Customize=> Additional CSS box and add the following CSS:
    1. I want to remove the buttons in the left and right side of the slider which allow to switch between the slider images

    #nav-slider .nav-previous, 
    #nav-slider .nav-next {
        display: none;
    }

    2. I want to change the border thickness and color of the border which surrounds the sliding images

    #slider-wrap a, 
    #slider-wrap .featured-img span, 
    .one-column #slider-wrap a, 
    .one-column #slider-wrap .featured-img span {
        padding: 50px;
    }
      
    #slider {
        background-color: #ff00ff;
    }

    Note: Please change the color and thickness as per required.

    Regards,
    Mahesh

    #111841
    Pratik
    Member

    Hi @F,

    Ah, sorry, I mixed up Featured Content and Featured Slider. The Slider takes Excerpt by default.

    Regards,
    Pratik

    #111825
    F
    Member

    Hi Pratik,

    I understand. I may have to wait until the site is live to figure out a few issues.

    However, when I go to Appearance > Customize > Featured Slider there is no option that says Excerpt or Show Content. All that is available is as follows: Enable Slider; Transition Effect; Transition Delay; Transition Length; Image Loader; Slider Type; No of Slides; and Select Categories. There is nothing there that addresses excerpts.

    Thanks!

    #111819
    ThemeCatcher
    Member

    Hi there,

    I’m using the Catch Box Pro theme and like to change to things on the featured image slider:
    1: I want to remove the buttons in the left and right side of the slider which allow to switch between the slider images
    2: I want to change the border thickness and color of the border which surrounds the sliding images

    I suppose some custom CSS is required here. Thanks in advance.

    Best regards

    #111779
    Pratik
    Member

    Hi @F,

    It is pretty difficult to understand the issue without your site url.

    The button needs not to be added on the page/post. It should appear once you select Show Content option in Featured slider to excerpt.

    I have no idea by what you mean that slider does not appear but excerpt does.

    We can move the slider to top of homepage, however, for that I will need to check your site url once.

    Let me know when it will be available and I can help you further.

    Regards,
    Pratik

    #111752
    F
    Member

    I have three posts that I’m populating the Featured Slider with on the front page. I have created excerpts for them and also a “learn more” button (as in your demo). However, the learn more button only appears on the post page and not on the front page slider.

    I have created the excerpt and the button by going to the post edit page, down at the bottom where it says Helena Options, I select Header Featured Image options. From there I am able to enter a manual excerpt, plus the button attributes.

    The problem is two-fold:

    1) I don’t need the button and excerpt to display on the actual post page. It says “read more” and if a person clicks on it from the post page, it simply reloads the same post page. So it should not appear on the post page itself.

    2) I do need it to appear on the Featured Slider at the top of the home page. That is where it would be most helpful to have a “read more” button that takes you to the corresponding post page. However, it does not appear on the home page. Only the excerpt appears.

    I would appreciate your help! Sorry, but the site is in production and not live, or I’d give you the URL.

    #111732
    marie21
    Member

    Hi Mahesh,

    now I checked the slider pic´s with this google tool (don´t know how it´s namend in english – click right mouse and chose pic to see the details) – so the title=”” is empty and the alt=”” as well.

    If I hide .page .featured-slider .entry-title { display: none; } in the customer css or not it dosn´t matter for this title=”” , will mean it stays still emtpy if I delete the “hide blablanla” or not.

    Now if I like to modify the childtheme functions.php to
    $catchresponsive_first_image = catchresponsive_get_first_image( $post->ID, ‘medium’, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $alt_attribute ), ‘class’ => ‘pngfix’ ) );

    ‘alt’ => esc_attr( $alt_attribute ) -> this seems to be wrong. Could you please help me out with how I have to do it right?

    Thank you very much in advance 🙂

    #111603
    Mahesh
    Participant

    @kiana: There has been a small bug in the theme due to which, CT: Social Icon is not working. This will be fixed in the next update.
    Please refer to the link below for the dimension of the featured slider in the theme instruction.
    https://catchthemes.com/theme-instructions/clean-education/#featured-image
    Yes, you can add the logo of your desired size.

    Footer editor option is only available on Pro version. I recommend you to upgrade to Pro.

    Regards,
    Mahesh

    #111591
    Kiana
    Member

    Hi,

    The CT: social icon is not working. I wonder how can I add the facebook logo to the footer.

    Moreover, What is the dimension of the featured slider? Can I add a larger logo to the header?

    Also, can I delete “Clean Education by Catch Themes” at the footer?

    Thank you!

    #111461
    marie21
    Member

    Hi Mahesh,

    unfortunately the “alt” tags from the featured slider will be not recoverd if I do some SEO-tests (Result ALT text: no ALT text).

    Could it be, that the customer css .page .featured-slider .entry-title { display: none; } hides it from google and co. ?
    Because title = alt like we discussed above …?

    Is there a possibility to add in custom css a special “alt” only for this sides e.g.
    .page-id-98 alt=”picture about something blabla”;

    Page ID 98 is one of the featured-slider pages ( 1 of 3).

    Thank´s for response 🙂

    Mahesh
    Participant

    @engbok: For that, just disabling the slider will do what you’ve mentioned. Disabling the slider won’t load any script of the slider and won’t cause any script conflicting.
    Go to Dashboard=> Appearance=> Customize=> Featured Slider and select Disabled in Enable Slider on option.

    Regards,
    Mahesh

Viewing 20 results - 941 through 960 (of 3,446 total)