Nico
Forum Replies Created
-
I ran into the same issue and @paul_mhs ‘s solution worked for me too.
Forum: Plugins
In reply to: [Polylang] Site broken on homepage after upgrading to 1.7.12I tried to rollback to 1.7.11, with no success.
New Relic gives me this error when browsing my homepage with polylang activated:/page-one-page
E_ERROR: Unknown: Cannot use output buffering in output buffering display handlersWhat’s weird is the URL or the error “/page-one-page” which does not exist on my website.
edit: I think the issue comes from the fact that my homepage is static, and when I switch the language from the admin, the “front page” and “blog page” get reset; it looks like I can only have one homepage working at a time.
Good to know! 🙂
Forum: Plugins
In reply to: [Polylang] Polylang Buddypress compatible@dr_who20 : I’m VERY interested in having polylang working with buddypress, is your method still working with uptodate WP, polylang and BP versions?
ps: I think there’s something in your previous post that caused the layout of this topic to be messed up.
Forum: Plugins
In reply to: [Polylang] Scheduled postsThank you for the fix, but I don’t think messing with that behaviour should be on the theme side. It sounds a lot more like a plugin fix to me.
I have to say that I don’t really see any downside on this, am I missing something that make you think you should not implement it in the plugin then?Cheers,
Hi,
I’m still getting the error, could you fix this? I believe it’s only a matter of putting
action="#"instead of the currentaction="".Thanks
Edit: Yeah I was correct, in jetpack/modules/subscriptions.php at line 584 (jetpack 2.1.2) you just have to replace:
<form action="" method="post" accept-charset="utf-8" id="subscribe-blog">
by:
<form action="#" method="post" accept-charset="utf-8" id="subscribe-blog">Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Language switcher in custom place in templateThanks @christos !
I had the same issue.Forum: Plugins
In reply to: No menu on archive pagesAdding your condition worked, thanks!
My function code is finally:add_filter('pre_get_posts', 'my_posts'); function my_posts($query) { if ((is_tag() || is_category()) && (!isset($query->query_vars['post_type']) || !$query->query_vars['post_type'])) { $query->set('post_type', 'any'); } return $query; }I got confused because I thought that this
pre_get_posts()was only used for the posts in the page, not the widgets & menus.Thanks!
Forum: Plugins
In reply to: No menu on archive pagesThat’s fine, thanks for helping 🙂
Yes all the posts are in the right language, and my language-based widgets are working fine.
Yes I did:
//Register menus function registerMenus() { register_nav_menus( array( 'header-menu' => __( 'Header Menu', 'vd' ) ) ); } add_action( 'init', 'registerMenus' );Yes it is.
Everything’s working fine on all the other pages, really.
Forum: Plugins
In reply to: No menu on archive pagesI got that error fixed by using the following code:
$query->set('post_type', 'any');But there’s still no menu (inserted manually in header.php) and pages (widget in my bottom sidebar). Any idea why?
Cheers,
Forum: Plugins
In reply to: No menu on archive pagesSorry, I thought it was an action, as you told me here.
Anyway, your snipet doesn’t work as it seems there’s no
set_query()function/method :Fatal error: Call to undefined method WP_Query::set_query()Thanks for the support!
Forum: Plugins
In reply to: No sitemapYes that’s very true actually, it’s just I was thinking -wrongly- that the sitemap would sort of link them because they show up in the same sitemap 🙂
Thanks for the explanation anyways!
Forum: Plugins
In reply to: No sitemapAnd custom types as well I guess?
I thought that because you have different languages it meant different sitemaps as technically speaking, a page in French should not be linked to an English one.
Forum: Plugins
In reply to: No sitemapNo worries.
I was refering to the only one sitemap in the dev version. It’s only generating one sitemap instead of one per language, unless I misunderstood what you meant earlier and this is a feature? (not a bug…)
Forum: Plugins
In reply to: No sitemapOh, good to know.
So you mean it’s only happening because it’s the development version? That won’t be the case in the next release then? (or am I totally wrong here?)