Forum Replies Created

Viewing 20 posts - 1 through 20 (of 31 total)
  • Author
    Posts
  • in reply to: Reivewer plugin conflict #122862
    Huca
    Participant

    Hi Mahesh,

    at the end it looks like it was indeed wordpress issue, since it works now for new pages with the new WP release. Thanks for help.

    Cheers,

    Petr

    in reply to: Reivewer plugin conflict #122853
    Huca
    Participant

    Hi tikaram,

    thanks. Any update here? We can´t actually work with the webpage (adding new pages), which sucks a lot.

    Regards,

    Petr

    in reply to: Reivewer plugin conflict #122487
    Huca
    Participant

    Hi Tikaram,

    based on plugin support there is an issue with theme:

    Anyway, the layout problems come from your WordPress theme, it adds extra <p> tags in all the review box structure. So the problem is not related to the plugin itself. Please contact the theme author and ask to the issue.

    in reply to: Reivewer plugin conflict #121277
    Huca
    Participant

    Hi Tikaram,

    it actually works well when removing the reviewer plugin shortcode:

    https://solveprague.cz/armageddon-project/

    in reply to: Server down after making changes in functions.php #112692
    Huca
    Participant

    Hi Mahesh,

    thanks for your help. The problem is already solved.

    Have a nice day.

    Petr

    in reply to: Server down after making changes in functions.php #112502
    Huca
    Participant

    I was actually editing the functions.php for childtheme in the back-office and I can´t find the way, where to edit back in ftp. Since it is a multisite installation I can´t access the child theme from wp-content/themes.

    Any ideas?

    in reply to: Server down after making changes in functions.php #112500
    Huca
    Participant

    Well it´s not. Everything is fine on the server site. The problem appeared right after saving functions.php child theme changes in the back-office.

    in reply to: Polylang issues #94427
    Huca
    Participant

    Woorks, you rock!

    in reply to: Polylang issues #94420
    Huca
    Participant

    I mean the featured image for each of the page like:

    http://solveprague.cz/exit-room-prague-en/

    or

    http://solveprague.cz/lostrooms-en/

    these pages have featured images that are rotating in the carousel banner on the main page http://solveprague.cz/lostrooms-en/ , but their featured images don´t appear on their particular pages (on the top before the headlines)

    in reply to: Polylang issues #94418
    Huca
    Participant

    No, I meant the image itself. It used to appear on top of each page as “banner” of the the page. I though it was default non changeable function but it´s gone now.

    For sure it is possible to add the image manually, just want to avoid the situation it would appear two times, just because it would revert back to the original settings when it was appearing by default.

    in reply to: Polylang issues #94413
    Huca
    Participant

    Almost everything works fine now. Just one weird thing happened. Featured images are visible in the main page carousel:

    http://solveprague.cz/

    but they are not on top of the particular page:

    http://solveprague.cz/exit-room-prague-en/

    any idea what could be causing this?

    in reply to: Flags in header #94410
    Huca
    Participant

    Pratik I have found out the bug on my site. I have multisite feature running on my WP installation, which was the reason some changes did not appear on the frontend. It all works now and I would like to thank you very much. I really appreciate you help and patience.

    I am buying pint of beer for you as soon as you visit Prague 🙂

    Thanks a lot!

    Petr

    in reply to: Flags in header #94358
    Huca
    Participant

    I have installed it via WP theme installation, then allowed the theme in the web network and activated it for the SolvePrague.

    in reply to: Flags in header #94354
    Huca
    Participant

    Amazing! It works. The only weird thing is that I don´t see the child theme when accessing via ftp in wp-content – themes to be able to make some additionally changes.

    in reply to: Flags in header #94348
    Huca
    Participant

    It is. It is also placed in the child theme folder and child theme is active, but none of these changes actually appear on the frontend. It´s really weird.

    in reply to: Flags in header #94343
    Huca
    Participant

    this is the whole function.php code, since I was also making some other changes from another thread, where you help me. But none of these actually works, so maybe I did something somewhere wrong?

    
    <?php
    /**
     * Child Theme functions and definitions
     *
     */
    
    /**
     * Loading Parent theme stylesheet
     *
     */
    add_action( 'wp_enqueue_scripts', 'catchresponsive_child_enqueue_styles' );
    function catchresponsive_child_enqueue_styles() {
        wp_enqueue_style( 'catchresponsive-parent-style', get_template_directory_uri() . '/style.css' );}
    
       
    
    if ( ! function_exists( 'catchresponsive_polylang_invalidcache' ) ) :
    /**
     * Template for Clearing Polylang Invalid Cache
     *
     */
    function catchresponsive_polylang_invalidcache() {
    	delete_transient( 'catchresponsive_featured_slider' );	
    } // catchresponsive_polylang_invalidcache
    endif;
    add_action( 'after_setup_theme', 'catchresponsive_polylang_invalidcache' );
    
    /**
     * Get the logo and display
     *
     * @uses get_transient, catchresponsive_get_theme_options, get_header_textcolor, get_bloginfo, set_transient, display_header_text
     * @get logo from options and make it polylang compatible
     *
     * @display logo
     *
     * @action
     *
     * @since Catch Responsive 1.0
     */
    function catchresponsive_site_branding() {
    	$options 			= catchresponsive_get_theme_options();
    
    	$catchresponsive_site_logo = '';
    	//Checking Logo
    	if ( function_exists( 'has_custom_logo' ) ) {
    		if ( has_custom_logo() ) {
    			$custom_logo_id = get_theme_mod( 'custom_logo' );
    			$image          = wp_get_attachment_image_src( $custom_logo_id , 'full' );
    
    			$catchresponsive_site_logo = '
    			<div id="site-logo">
    				<a href="' . esc_url( pll_home_url() ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" rel="home">
    					<img src="' . esc_url( $image ) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '">
    				</a>
    			</div><!-- #site-logo -->';
    
    		}
    	}
    	else if ( '' != $options['logo'] && !$options['logo_disable'] ) {
    		$catchresponsive_site_logo = '
    		<div id="site-logo">
    			<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" rel="home">
    				<img src="' . esc_url( $options['logo'] ) . '" alt="' . esc_attr(  $options['logo_alt_text'] ). '">
    			</a>
    		</div><!-- #site-logo -->';
    	}
    
    	$catchresponsive_header_text = '
    	<div id="site-header">
    		<h1 class="site-title"><a href="' . esc_url( home_url( '/' ) ) . '">' . get_bloginfo( 'name' ) . '</a></h1>
    		<h2 class="site-description">' . get_bloginfo( 'description' ) . '</h2>
    	</div><!-- #site-header -->';
    
    	$text_color = get_header_textcolor();
    
    	$catchresponsive_site_branding	= '<div id="site-branding">';
    	$catchresponsive_site_branding	.= $catchresponsive_header_text;
    
    	if ( function_exists( 'has_custom_logo' ) ) {
    		if ( has_custom_logo() ) {
    			if ( ! $options['move_title_tagline'] && 'blank' != $text_color ) {
    				$catchresponsive_site_branding  = '<div id="site-branding" class="logo-left">';
    				$catchresponsive_site_branding .= $catchresponsive_site_logo;
    				$catchresponsive_site_branding .= $catchresponsive_header_text;
    			}
    			else {
    				$catchresponsive_site_branding  = '<div id="site-branding" class="logo-right">';
    				$catchresponsive_site_branding .= $catchresponsive_header_text;
    				$catchresponsive_site_branding .= $catchresponsive_site_logo;
    			}
    		}
    	}
    	else if ( '' != $options['logo'] && !$options['logo_disable'] ) {
    		if ( ! $options['move_title_tagline'] && 'blank' != $text_color ) {
    			$catchresponsive_site_branding  = '<div id="site-branding" class="logo-left">';
    			$catchresponsive_site_branding .= $catchresponsive_site_logo;
    			$catchresponsive_site_branding .= $catchresponsive_header_text;
    		}
    		else {
    			$catchresponsive_site_branding  = '<div id="site-branding" class="logo-right">';
    			$catchresponsive_site_branding .= $catchresponsive_header_text;
    			$catchresponsive_site_branding .= $catchresponsive_site_logo;
    		}
    	}
    
    	$catchresponsive_site_branding 	.= '</div><!-- #site-branding-->';
    
    	echo $catchresponsive_site_branding ;
    }
    
    /**
     * Function to override parent function 
     */
    function catchresponsive_header_right() {
    	?>
    	<aside class="sidebar sidebar-header-right widget-area">
    		<section class="widget widget_search" id="header-right-search">
    			<div class="widget-wrap">
    				<?php echo get_search_form(); ?>
    			</div>
    		</section>
    		<?php if ( '' != ( $catchresponsive_social_icons = catchresponsive_get_social_icons() ) ) { ?>
    			<section class="widget widget_catchresponsive_social_icons" id="header-right-social-icons">
    				<div class="widget-wrap">
    					<?php echo $catchresponsive_social_icons; ?>
    				</div><!-- .widget-wrap -->
    			</section><!-- #header-right-social-icons -->
    		<?php
    		} ?>
    		<?php if ( function_exists( 'pll_the_languages' ) ) { ?>
    			<section class="widget">
    				<div class="widget-wrap">
    					<?php pll_the_languages( array( 'show_flags' => 1, 'show_names' => 0 ) );?>
    				</div><!-- .widget-wrap -->
    			</section><!-- #header-right-social-icons -->
    		<?php
    		} ?>
    	</aside><!-- .sidebar .header-sidebar .widget-area -->
    	<?php
    }
    
    in reply to: Flags in header #94340
    Huca
    Participant

    Code added, but I don´t see any change.

    in reply to: Flags in header #94332
    Huca
    Participant

    Thanks, would be nice to have it

    1) under the search field, where is currently placed the Facebook button (we would remove the Facebook button then)

    if not possible

    2) between SolvePrague text and search field. Basically in the middle of the header – horizontally and vertically.

    Thanks a lot.

    in reply to: Flags in header #94294
    Huca
    Participant

    Hi Pratik,

    in general thanks a lot for helping me. I really appreciate that. In this case, where exactly in the header I should put the mentioned code?

    Thanks a lot,

    Petr

    in reply to: Polylang issues #94284
    Huca
    Participant

    According to 3) I found this:

    https://wordpress.org/support/topic/polylang-on-logo-click-1?replies=7

    but I don´ t know where to change the link under logo. Didn´t find anything in the header.php :/

Viewing 20 posts - 1 through 20 (of 31 total)