Forum Replies Created
-
AuthorPosts
-
HucaParticipant
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
HucaParticipantHi tikaram,
thanks. Any update here? We can´t actually work with the webpage (adding new pages), which sucks a lot.
Regards,
Petr
HucaParticipantHi 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.
HucaParticipantHi Tikaram,
it actually works well when removing the reviewer plugin shortcode:
HucaParticipantHi Mahesh,
thanks for your help. The problem is already solved.
Have a nice day.
Petr
HucaParticipantI 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?
HucaParticipantWell 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.
HucaParticipantWoorks, you rock!
HucaParticipantI 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)
HucaParticipantNo, 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.
HucaParticipantAlmost everything works fine now. Just one weird thing happened. Featured images are visible in the main page carousel:
but they are not on top of the particular page:
http://solveprague.cz/exit-room-prague-en/
any idea what could be causing this?
HucaParticipantPratik 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
HucaParticipantI have installed it via WP theme installation, then allowed the theme in the web network and activated it for the SolvePrague.
HucaParticipantAmazing! 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.
HucaParticipantIt 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.
HucaParticipantthis 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 }
HucaParticipantCode added, but I don´t see any change.
HucaParticipantThanks, 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.
HucaParticipantHi 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
HucaParticipantAccording 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 :/
-
AuthorPosts