lvsn
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesSo, this is now resolved. Thanks again and happy New Year, Chouby.
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesHey, it worked! Now the site is back to normal. Thank you!
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesI posted on their support forum yesterday, but haven’t got an answer yet. Probably I should wait after New Year holidays are over.
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesI have index.php
There is query_posts at the start of the code
<?php global $theme; get_header(); ?> <div id="main"> <?php $theme->hook('main_before'); ?> <div id="wrap-content"> <?php $theme->hook('content_before'); ?> <div class="content"> <?php if(is_home()) { $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $build_homepage_query = array ( 'paged'=> $paged, 'category__not_in' => $theme->get_option('homepage_exclude_categories'), 'posts_per_page' => $theme->get_option('homepage_posts_per_page') ); query_posts($build_homepage_query); } $theme->options['template_part'] = 'homepage'; get_template_part('loop', 'homepage'); ?> </div><!-- .content --> <?php $theme->hook('content_after'); ?> </div><!-- #wrap-content --> <?php get_sidebar(); ?> <?php $theme->hook('main_after'); ?> </div><!-- #main --> <?php get_footer(); ?>
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesSorry. Now it’s activated.
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesI uploaded the file in the Plugins directory, or should I have uploaded it to the Polylang folder?
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesDone.
The site is back, but the problem is still there.Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesdid that.
now I have the blank page with the textWarning: Cannot modify header information – headers already sent by (output started at /home/content/47/8501247/html/wp-content/plugins/polylang/include/core.php:392) in /home/content/47/8501247/html/wp-includes/pluggable.php on line 876
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesTried twenty eleven. I did not even de-activated the plugins, and the theme was showing the correct posts for each language. So, looks like it is TheNews theme.
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesSo, I am back in my topic…
Thank You, Chouby. Your solution for the gallery helped and everything seems ok (if smth else occurs on this matter, I will inform You).
But there still is a problem with posts in two languages, maybe it’s the same as the other user mentioned in a similar topic. When I choose any of the categories on my menu, everything is the ok with the languages, it’s just the hompeage.
As I am not good in coding, I can not tell if there is a conflict with the theme. I am using TheNews theme from FlexiThemes. If neccessary, I can only ask about it on their support forum.
Forum: Plugins
In reply to: [Polylang] Home page shows posts in both languages / IISHi!
I still have the same problem with my home page. Tried to follow your solutions, but that did not help.
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagesDeleted the 0.9.8 version, because it screwed up my media library (could not see the images to add to posts). Tried to install many of the previous versions, but at the top of my website I got
Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/47/8501247/html/wp-content/plugins/polylang/include/base.php on line 214 and defined in /home/content/47/8501247/html/wp-includes/wp-db.php on line 990
Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/47/8501247/html/wp-content/plugins/polylang/include/base.php on line 216 and defined in /home/content/47/8501247/html/wp-includes/wp-db.php on line 990
Theses messages dissapear if I install the later version of Polylang, but as I said this version screws up everything.
I did that, and now have 1.9.8.
Site is still messed up, but it’s probably the WordPress 3.5 problem (can not view my pictures in my Media Library and add them to posts and can not set the Featured image).
Same here, and when I want to add any photo from the media library to the post, it says there are no media files.
Forum: Plugins
In reply to: [Polylang] Homepage shows posts in both languagessorry, I mean WordPress 3.5 not 5.2, of course.