Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter JuliaTIO

    (@juliatio)

    Thank you so much, this worked perfectly! Have a great week! 🙂

    Ah maybe I should add that it is a good idea to make this changes in a child theme or else everything will be lost, if you updathe the theme.

    Hello 🙂
    Just for the case, that someone still wants to know the answer, here is how I did it:

    Go to Design -> Editor and select functions.php in the right sidebar. Scroll to

    // Add ThinkUpSlider scripts

    and add a else part with the same content like in the if part like this:

    if ( is_front_page() or thinkup_check_ishome() ) {
        wp_enqueue_script( 'thinkupslider', get_template_directory_uri() . '/lib/scripts/plugins/ResponsiveSlides/responsiveslides.min.js', array( 'jquery' ), '1.54' );
    		wp_enqueue_script( 'thinkupslider-call', get_template_directory_uri() . '/lib/scripts/plugins/ResponsiveSlides/responsiveslides-call.js', array( 'jquery' ) ); }
    
        else {
        wp_enqueue_script( 'thinkupslider', get_template_directory_uri() . '/lib/scripts/plugins/ResponsiveSlides/responsiveslides.min.js', array( 'jquery' ), '1.54' );
    		wp_enqueue_script( 'thinkupslider-call', get_template_directory_uri() . '/lib/scripts/plugins/ResponsiveSlides/responsiveslides-call.js', array( 'jquery' ) );}
    
    }
        add_action( 'wp_enqueue_scripts', 'thinkup_frontscripts', 10 );

    Now you have to log in to your server (I use Filezilla but you can use any program you like) and go to html-> wordpress content -> themes -> minamaze -> admin -> main -> options and open 02.homepage.php.

    Now you have to do the same like above and add a “else” with the same content to every “if”, that in includes something like:
    is_front_page() or thinkup_check_ishome() .

    Then change the terms:
    if ( ! is_front_page() and !thinkup_check_ishome() and !is_archive() and $_thinkup_meta_slider == 'on' ) to
    if ( !is_archive() and $_thinkup_meta_slider == 'on' ).

    On my page the file 02.homepage.php now looks like that: (You can copy this but keep in mind, that I made some other changes, too. For example I changed the words “read more” to the german word “weiterlesen” and these changes will also appear on your site if you copy the whole text.)

    <?php
    /**
     * Homepage functions.
     *
     * @package ThinkUpThemes
     */
    
    /* ----------------------------------------------------------------------------------
    	ENABLE HOMEPAGE SLIDER
    ---------------------------------------------------------------------------------- */
    
    // Add Slider - Homepage
    function thinkup_input_sliderhome() {
    global $thinkup_homepage_sliderswitch;
    global $thinkup_homepage_slidername;
    global $thinkup_homepage_sliderpreset;
    
    $thinkup_class_fullwidth = NULL;
    
    	if ( is_front_page() or thinkup_check_ishome() ) {
    		if ( empty( $thinkup_homepage_sliderswitch ) or $thinkup_homepage_sliderswitch == 'option1' ) {
    
    			echo '<div id="slider"><div id="slider-core">',
    			     '<div class="rslides-container"><div class="rslides-inner"><ul class="slides">';
    				if ( ! isset( $thinkup_homepage_sliderpreset[0] ) or empty( $thinkup_homepage_sliderpreset[0]['slide_image_url'] ) ) {
    					echo '<li><img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . get_template_directory_uri() . '/images/slideshow/slide_demo1.png) no-repeat center; background-size: cover;" alt="Demo Image" /></li>';
    					echo '<li><img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . get_template_directory_uri() . '/images/slideshow/slide_demo2.png) no-repeat center; background-size: cover;" alt="Demo Image" /></li>';
    					echo '<li><img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . get_template_directory_uri() . '/images/slideshow/slide_demo3.png) no-repeat center; background-size: cover;" alt="Demo Image" /></li>';
    				} else if (isset($thinkup_homepage_sliderpreset) && is_array($thinkup_homepage_sliderpreset)) {
    					foreach ($thinkup_homepage_sliderpreset as $slide) {
    						echo '<li>',
    							 '<img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . $slide['slide_image_url'] . ') no-repeat center; background-size: cover;" alt="' . $slide['slide_title']. '" />',
    							 '<div class="rslides-content">',
    							 '<div class="wrap-safari">',
    							 '<div class="rslides-content-inner">',
    							 '<div class="featured">';
    
    								if ( ! empty( $slide['slide_title'] ) ) {
    									echo '<div class="featured-title">',
    										 '<span>' . $slide['slide_title'] . '</span>',
    										 '</div>';
    								}
    								if ( ! empty( $slide['slide_description'] ) ) {
    									$slide_description = str_replace( '<p>', '<p><span>', wpautop( $slide['slide_description'] ));
    									$slide_description = str_replace( '</p>', '</span></p>', $slide_description );
    									echo '<div class="featured-excerpt">',
    										 $slide_description,
    										 '</div>';
    								}
    								if ( ! empty( $slide['slide_url'] ) ) {
    									echo '<div class="featured-link">',
    										 '<a href="' . $slide['slide_url'] . '"><span>' . __( 'Zur Seite', 'lan-thinkupthemes' ) . '</a></span>',
    										 '</div>';
    								}
    
    						 echo '</div>',
    							  '</div>',
    							  '</div>',
    							  '</div>',
    							  '</li>';
    					}
    				}
    			echo '</ul></div></div>',
    			     '</div></div><div class="clearboth"></div>';
    		} else if ( $thinkup_homepage_sliderswitch !== 'option2' or empty( $thinkup_homepage_slidername ) ) {
    			echo '';
    		} else {
    			echo	'<div id="slider"><div id="slider-core">',
    				do_shortcode( $thinkup_homepage_slidername ),
    				'</div></div><div class="clearboth"></div>';
    		}
    	}
        else {
    		if ( empty( $thinkup_homepage_sliderswitch ) or $thinkup_homepage_sliderswitch == 'option1' ) {
    
    			echo '<div id="slider"><div id="slider-core">',
    			     '<div class="rslides-container"><div class="rslides-inner"><ul class="slides">';
    				if ( ! isset( $thinkup_homepage_sliderpreset[0] ) or empty( $thinkup_homepage_sliderpreset[0]['slide_image_url'] ) ) {
    					echo '<li><img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . get_template_directory_uri() . '/images/slideshow/slide_demo1.png) no-repeat center; background-size: cover;" alt="Demo Image" /></li>';
    					echo '<li><img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . get_template_directory_uri() . '/images/slideshow/slide_demo2.png) no-repeat center; background-size: cover;" alt="Demo Image" /></li>';
    					echo '<li><img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . get_template_directory_uri() . '/images/slideshow/slide_demo3.png) no-repeat center; background-size: cover;" alt="Demo Image" /></li>';
    				} else if (isset($thinkup_homepage_sliderpreset) && is_array($thinkup_homepage_sliderpreset)) {
    					foreach ($thinkup_homepage_sliderpreset as $slide) {
    						echo '<li>',
    							 '<img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . $slide['slide_image_url'] . ') no-repeat center; background-size: cover;" alt="' . $slide['slide_title']. '" />',
    							 '<div class="rslides-content">',
    							 '<div class="wrap-safari">',
    							 '<div class="rslides-content-inner">',
    							 '<div class="featured">';
    
    								if ( ! empty( $slide['slide_title'] ) ) {
    									echo '<div class="featured-title">',
    										 '<span>' . $slide['slide_title'] . '</span>',
    										 '</div>';
    								}
    								if ( ! empty( $slide['slide_description'] ) ) {
    									$slide_description = str_replace( '<p>', '<p><span>', wpautop( $slide['slide_description'] ));
    									$slide_description = str_replace( '</p>', '</span></p>', $slide_description );
    									echo '<div class="featured-excerpt">',
    										 $slide_description,
    										 '</div>';
    								}
    								if ( ! empty( $slide['slide_url'] ) ) {
    									echo '<div class="featured-link">',
    										 '<a href="' . $slide['slide_url'] . '"><span>' . __( 'Zur Seite', 'lan-thinkupthemes' ) . '</a></span>',
    										 '</div>';
    								}
    
    						 echo '</div>',
    							  '</div>',
    							  '</div>',
    							  '</div>',
    							  '</li>';
    					}
    				}
    			echo '</ul></div></div>',
    			     '</div></div><div class="clearboth"></div>';
    		} else if ( $thinkup_homepage_sliderswitch !== 'option2' or empty( $thinkup_homepage_slidername ) ) {
    			echo '';
    		} else {
    			echo	'<div id="slider"><div id="slider-core">',
    				do_shortcode( $thinkup_homepage_slidername ),
    				'</div></div><div class="clearboth"></div>';
    		}
    	}
    }
    
    // Add ThinkUpSlider Height - Homepage
    function thinkup_input_sliderhomeheight() {
    global $thinkup_homepage_sliderswitch;
    global $thinkup_homepage_sliderpresetheight;
    
    	if ( empty( $thinkup_homepage_sliderpresetheight ) ) $thinkup_homepage_sliderpresetheight = '350';
    
    	if ( is_front_page() or thinkup_check_ishome() ) {
    		if ( empty( $thinkup_homepage_sliderswitch ) or $thinkup_homepage_sliderswitch == 'option1' ) {
    		echo 	"\n" .'<style type="text/css">' . "\n",
    			'#slider .rslides, #slider .rslides li { height: ' . $thinkup_homepage_sliderpresetheight . 'px; max-height: ' . $thinkup_homepage_sliderpresetheight . 'px; }' . "\n",
    			'#slider .rslides img { height: 100%; max-height: ' . $thinkup_homepage_sliderpresetheight . 'px; }' . "\n",
    			'</style>' . "\n";
    		}
    	}
        else {
    		if ( empty( $thinkup_homepage_sliderswitch ) or $thinkup_homepage_sliderswitch == 'option1' ) {
    		echo 	"\n" .'<style type="text/css">' . "\n",
    			'#slider .rslides, #slider .rslides li { height: ' . $thinkup_homepage_sliderpresetheight . 'px; max-height: ' . $thinkup_homepage_sliderpresetheight . 'px; }' . "\n",
    			'#slider .rslides img { height: 100%; max-height: ' . $thinkup_homepage_sliderpresetheight . 'px; }' . "\n",
    			'</style>' . "\n";
    		}
    	}
    }
    add_action( 'wp_head','thinkup_input_sliderhomeheight', '13' );
    
    // Add Slider - Inner Page
    function thinkup_input_sliderpage() {
    global $post;
    
    $_thinkup_meta_slider     = get_post_meta( $post->ID, '_thinkup_meta_slider', true );
    $_thinkup_meta_slidername = get_post_meta( $post->ID, '_thinkup_meta_slidername', true );
    $_thinkup_meta_sliderpage = get_post_meta( $post->ID, '_thinkup_meta_sliderimages', true ); 
    
    $count = 0;
    
    	if ( !is_archive() and $_thinkup_meta_slider == 'on' ) {
    
    		echo	'<div id="slider"><div id="slider-core">';
    
    			if ( empty( $_thinkup_meta_slidername ) and is_array( $_thinkup_meta_sliderpage ) ) {
    			echo '<div class="rslides-container"><div class="rslides-inner page-inner"><ul class="slides">';
    
    				foreach ( $_thinkup_meta_sliderpage['image'] as $slide => $list) {
    
    				$slide_id          = $_thinkup_meta_sliderpage['image'][ $count ];
    				$slide_title       = $_thinkup_meta_sliderpage['title'][ $count ];
    				$slide_description = $_thinkup_meta_sliderpage['description'][ $count ];
    
    				$slide_img = wp_get_attachment_image_src( $slide_id, true );
    
    						echo '<li>',
    							 '<img src="' . get_template_directory_uri() . '/images/transparent.png" style="background: url(' . $slide_img[0] . ') no-repeat center; background-size: cover;" alt="' . $slide_title . '" />',
    							 '<div class="rslides-content">',
     							 '<div class="wrap-safari">',
    							 '<div class="rslides-content-inner">',
    							 '<div class="featured">';
    
    								if ( ! empty( $slide_title ) ) {
    									echo '<div class="featured-title">',
    										 '<span>' . $slide_title . '</span>',
    										 '</div>';
    								}
    								if ( ! empty( $slide_description ) ) {
    									$slide_description = str_replace( '<p>', '<p><span>', wpautop( $slide_description ));
    									$slide_description = str_replace( '</p>', '</span></p>', $slide_description );
    									echo '<div class="featured-excerpt">',
    										 $slide_description,
    										 '</div>';
    								}
    						 echo '</div>',
    							  '</div>',
    							  '</div>',
    							  '</div>',
    							  '</li>';
    
    						$count++;
    					}
    
    				echo '</ul></div></div>';
    			} else if ( ! empty( $_thinkup_meta_slidername ) ) {
    				echo do_shortcode( $_thinkup_meta_slidername );
    			}
    		echo '</div></div>';
    	}
    }
    
    // Add ThinkUpSlider Height - Inner Page
    function thinkup_input_sliderpageheight() {
    global $post;
    
    $_thinkup_meta_slider     = get_post_meta( $post->ID, '_thinkup_meta_slider', true );
    $_thinkup_meta_slidername = get_post_meta( $post->ID, '_thinkup_meta_slidername', true );
    $_thinkup_meta_sliderpage = get_post_meta( $post->ID, '_thinkup_meta_sliderimages', true ); 
    
    		if ( is_array( $_thinkup_meta_sliderpage ) ) $slide_height = $_thinkup_meta_sliderpage['height'];
    
    		if ( empty( $slide_height ) ) $slide_height = '200';
    
    		if ( $_thinkup_meta_slider == 'on' and empty( $_thinkup_meta_slidername ) and ! empty( $_thinkup_meta_sliderpage[ 'image' ][0] ) ) {
    
    		echo 	"\n" .'<style type="text/css">' . "\n",
    			'#slider .rslides, #slider .rslides li { height: ' . $slide_height . 'px; max-height: ' . $slide_height . 'px; }' . "\n",
    			'#slider .rslides img { height: 100%; max-height: ' . $slide_height . 'px; }' . "\n",
    			'</style>' . "\n";
    	}
    }
    add_action( 'wp_head','thinkup_input_sliderpageheight', '13' );
    
    /* Add full width slider class to body */
    function thinkup_input_sliderclass($classes){
    global $thinkup_homepage_sliderswitch;
    global $thinkup_homepage_sliderpresetwidth;
    
    global $post;
    $_thinkup_meta_slider     = get_post_meta( $post->ID, '_thinkup_meta_slider', true );
    $_thinkup_meta_sliderpage = get_post_meta( $post->ID, '_thinkup_meta_sliderimages', true ); 
    
    	if ( is_front_page() or thinkup_check_ishome() ) {
    		if ( empty( $thinkup_homepage_sliderswitch ) or $thinkup_homepage_sliderswitch == 'option1' ) {
    			if ( empty( $thinkup_homepage_sliderpresetwidth ) or $thinkup_homepage_sliderpresetwidth == '1' ) {
    				$classes[] = 'slider-full';
    			} else {
    				$classes[] = 'slider-boxed';
    			}
    		}
    	} else {
    		if ( empty( $thinkup_homepage_sliderswitch ) or $thinkup_homepage_sliderswitch == 'option1' ) {
    			if ( empty( $thinkup_homepage_sliderpresetwidth ) or $thinkup_homepage_sliderpresetwidth == '1' ) {
    				$classes[] = 'slider-full';
    			} else {
    				$classes[] = 'slider-boxed';
    			}
    		}}
    	return $classes;
    }
    add_action( 'body_class', 'thinkup_input_sliderclass');
    
    //----------------------------------------------------------------------------------
    //	ENABLE HOMEPAGE CONTENT
    //----------------------------------------------------------------------------------
    
    function thinkup_input_homepagesection() {
    global $thinkup_homepage_sectionswitch;
    global $thinkup_homepage_section1_image;
    global $thinkup_homepage_section1_title;
    global $thinkup_homepage_section1_desc;
    global $thinkup_homepage_section1_link;
    global $thinkup_homepage_section2_image;
    global $thinkup_homepage_section2_title;
    global $thinkup_homepage_section2_desc;
    global $thinkup_homepage_section2_link;
    global $thinkup_homepage_section3_image;
    global $thinkup_homepage_section3_title;
    global $thinkup_homepage_section3_desc;
    global $thinkup_homepage_section3_link;
    
    	// Set default values for images
    	if ( ! empty( $thinkup_homepage_section1_image ) )
    		$thinkup_homepage_section1_image = wp_get_attachment_image_src($thinkup_homepage_section1_image, 'column3-1/3');
    
    	if ( ! empty( $thinkup_homepage_section2_image ) )
    		$thinkup_homepage_section2_image = wp_get_attachment_image_src($thinkup_homepage_section2_image, 'column3-1/3');
    
    	if ( ! empty( $thinkup_homepage_section3_image ) )
    		$thinkup_homepage_section3_image = wp_get_attachment_image_src($thinkup_homepage_section3_image, 'column3-1/3');
    
    	// Set default values for titles
    	if ( empty( $thinkup_homepage_section1_title ) ) $thinkup_homepage_section1_title = 'Perfect For All';
    	if ( empty( $thinkup_homepage_section2_title ) ) $thinkup_homepage_section2_title = '100% Responsive';
    	if ( empty( $thinkup_homepage_section3_title ) ) $thinkup_homepage_section3_title = 'Powerful Framework';
    
    	// Set default values for descriptions
    	if ( empty( $thinkup_homepage_section1_desc ) )
    	$thinkup_homepage_section1_desc = 'The modern design of Minamaze (Lite) makes it the perfect choice for any website. Business, charity, blog, well everything!';
    
    	if ( empty( $thinkup_homepage_section2_desc ) )
    	$thinkup_homepage_section2_desc = 'Minamaze (Lite) is 100% responsive. It looks great on all devices, from mobile to desktops and everything in between!';
    
    	if ( empty( $thinkup_homepage_section3_desc ) )
    	$thinkup_homepage_section3_desc = 'Get a taste of our awesome ThinkUpThemes Framework and make changes to your site easily, without touching any code at all!';
    
    	// Get page names for links
    	if ( !empty( $thinkup_homepage_section1_link ) ) $thinkup_homepage_section1_link = get_permalink( $thinkup_homepage_section1_link );
    	if ( !empty( $thinkup_homepage_section2_link ) ) $thinkup_homepage_section2_link = get_permalink( $thinkup_homepage_section2_link );
    	if ( !empty( $thinkup_homepage_section3_link ) ) $thinkup_homepage_section3_link = get_permalink( $thinkup_homepage_section3_link );
    
    	if ( is_front_page() or thinkup_check_ishome() ) {
    		if ( empty( $thinkup_homepage_sectionswitch ) or $thinkup_homepage_sectionswitch == '1' ) {
    
    		echo '<div id="section-home"><div id="section-home-inner">';
    
    			echo '<article class="section1 one_third">',
    					'<div class="section">',
    					'<div class="entry-header">';
    					if ( empty( $thinkup_homepage_section1_image ) ) {
    						echo '<img src="' . get_template_directory_uri() . '/images/slideshow/featured1.png' . '" alt="" />';
    					} else {
    						echo '<img src="' . $thinkup_homepage_section1_image[0] . '"  alt="" />';
    					}
    			echo	'</div>',
    					'<div class="entry-content">',
    					'<h3>' . esc_html( $thinkup_homepage_section1_title ) . '</h3>' . wpautop( do_shortcode ( esc_html( $thinkup_homepage_section1_desc ) ) ),
    					'<p><a href="http://tried-it-out.de/hallo-fruehling/" class="more-link themebutton">' . __( 'Weiterlesen', 'lan-thinkupthemes' ) . '</a></p>',
    					'</div>',
    					'</div>',
    				'</article>';
    
    			echo '<article class="section2 one_third">',
    					'<div class="section">',
    					'<div class="entry-header">';
    					if ( empty( $thinkup_homepage_section2_image ) ) {
    						echo '<img src="' . get_template_directory_uri() . '/images/slideshow/featured2.png' . '"  alt="" />';
    					} else {
    						echo '<img src="' . $thinkup_homepage_section2_image[0] . '"  alt="" />';
    					}
    			echo	'</div>',
    					'<div class="entry-content">',
    					'<h3>' . esc_html( $thinkup_homepage_section2_title ) . '</h3>' . wpautop( do_shortcode ( esc_html( $thinkup_homepage_section2_desc ) ) ),
    					'<p><a href="http://tried-it-out.de/base-nk-lidschatten-primer-im-test/" class="more-link themebutton">' . __( 'Weiterlesen', 'lan-thinkupthemes' ) . '</a></p>',
    					'</div>',
    					'</div>',
    				'</article>';
    
    			echo '<article class="section3 one_third last">',
    					'<div class="section">',
    					'<div class="entry-header">';
    					if ( empty( $thinkup_homepage_section3_image ) ) {
    						echo '<img src="' . get_template_directory_uri() . '/images/slideshow/featured3.png' . '"  alt="" />';
    					} else {
    						echo '<img src="' . $thinkup_homepage_section3_image[0] . '"  alt="" />';
    					}
    			echo	'</div>',
    					'<div class="entry-content">',
    					'<h3>' . esc_html( $thinkup_homepage_section3_title ) . '</h3>' . wpautop( do_shortcode ( esc_html( $thinkup_homepage_section3_desc ) ) ),
    					'<p><a href="http://tried-it-out.de/5free-nagellack-listen-und-aufbewahrung/" class="more-link themebutton">' . __( 'Weiterlesen', 'lan-thinkupthemes' ) . '</a></p>',
    					'</div>',
    					'</div>',
    				'</article>';
    
    		echo '<div class="clearboth"></div></div></div>';
    		}
    	}
    }
    
    /* ----------------------------------------------------------------------------------
    	CALL TO ACTION - INTRO
    ---------------------------------------------------------------------------------- */
    
    function thinkup_input_ctaintro() {
    global $thinkup_homepage_introswitch;
    global $thinkup_homepage_introaction;
    global $thinkup_homepage_introactionteaser;
    global $thinkup_homepage_introactionbutton;
    global $thinkup_homepage_introactionlink;
    global $thinkup_homepage_introactionpage;
    global $thinkup_homepage_introactioncustom;
    
    	if ( $thinkup_homepage_introswitch == '1' and ( is_front_page() or thinkup_check_ishome() ) and ! empty( $thinkup_homepage_introaction ) ) {
    		echo '<div id="introaction"><div id="introaction-core">';
    		if (empty( $thinkup_homepage_introactionbutton ) ) {
    			if ( empty( $thinkup_homepage_introactionteaser ) ) {
    				echo	'<div class="action-text">
    						<h3>' . $thinkup_homepage_introaction . '</h3>
    						</div>';
    				} else {
    				echo	'<div class="action-text action-teaser">
    						<h3>' . $thinkup_homepage_introaction . '</h3>
    						<p>' . esc_html( $thinkup_homepage_introactionteaser ) . '</p>
    						</div>';
    				}
    		} else if ( ! empty( $thinkup_homepage_introactionbutton ) ) {
    			if ( empty( $thinkup_homepage_introactionteaser ) ) {
    				echo	'<div class="action-text three_fourth">
    						<h3>' . $thinkup_homepage_introaction . '</h3>
    						</div>';
    				} else {
    				echo	'<div class="action-text three_fourth action-teaser">
    						<h3>' . $thinkup_homepage_introaction . '</h3>
    						<p>' . esc_html( $thinkup_homepage_introactionteaser ) . '</p>
    						</div>';
    				}
    			if ( $thinkup_homepage_introactionlink == 'option1' ) {
    				echo '<div class="action-button one_fourth last"><a href="' . get_permalink( $thinkup_homepage_introactionpage ) . '"><h4 class="themebutton">';
    				echo esc_html( $thinkup_homepage_introactionbutton );
    				echo '</h4></a></div>';
    			} else if ( $thinkup_homepage_introactionlink == 'option2' ) {
    				echo '<div class="action-button one_fourth last"><a href="' . esc_url( $thinkup_homepage_introactioncustom ) . '"><h4 class="themebutton">';
    				echo esc_html( $thinkup_homepage_introactionbutton );
    				echo '</h4></a></div>';
    			} else if ( $thinkup_homepage_introactionlink == 'option3' or empty( $thinkup_homepage_introactionlink ) ) {
    				echo '<div class="action-button one_fourth last"><h4 class="themebutton">';
    				echo esc_html( $thinkup_homepage_introactionbutton );
    				echo '</h4></div>';
    			}
    		}
    		echo '</div></div>';
    	}
    }
    
    /* ----------------------------------------------------------------------------------
    	CALL TO ACTION - OUTRO - PREMIUM FEATURE
    ---------------------------------------------------------------------------------- */
    
    ?>

    Maybe there is also better way, but for me this works perfectly! 🙂
    Have a nice day! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)