ced64k
Forum Replies Created
-
Forum: Plugins
In reply to: [User Frontend] How can i add logout easily to my theme?For example
<a href="<?php echo wp_logout_url( home_url() ); ?>" title="Logout">Logout</a>
Ok thanks ??
Ok thanks Chouby, it’s working with a custom post type ??
Now I have to do another weird thing. On the homepage I need to display 2 post types in the same query, one translated, one not. Post type “post” is handled by Polylang and my custom post type “feedback” not.
For example, on the fr homepage
News 1 FR
Feedback 1
Feedback 2
News 2 FR
Feedback 3
etc.And on the nl homepage :
News 1 NL
Feedback 1
Feedback 2
News 2 NL
Feedback 3
etc.If I made this query: ‘post_type’ => array( ‘post’, ‘feedback’), only the posts in the current language are displayed. With ‘post_type’ => ‘feedback’ I can display the feedbacks. Or if I desactivate Polylang the query can merge the 2 post types.
I can achieve what I need with this query merge code :
https://gist.github.com/jcobb/2993853But if you have a better solution… ??
Thanks
Forum: Plugins
In reply to: [Polylang] Polylang and NextGen Gallery captions, etc.Hi,
I can edit the gallery titles and it works but the gallery descriptions are not saved.
Exemple :
gal_1_title Fran?ais : ‘Test titre fran?ais’
English : ‘Test english title’
gal_1_description Fran?ais : ‘Test description fran?ais’
English : ‘Test english description’And ‘Test english description’ isn’t saved.
I’m using the current dev version.
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Language filter in pages listAh ok merci ??
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Language filter in pages listSo I don’t have language filters under posts and pages list (v0.9.3.8). I switched back to 0.8.10 and it works again.
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] Language filter in pages listSame problem for me. WP + Polylang lasted version
Forum: Fixing WordPress
In reply to: Quick Edit hangs for too many usersNo idea ?
Forum: Plugins
In reply to: WordPress ProPlayer bbPress = XML ?@isa.goksu, it seems solved with the v4.5.1, thanks ??
Forum: Plugins
In reply to: WordPress ProPlayer bbPress = XML ?Quick and dirty fix:
playlist-controller.php (line 150). I remplaced this :
if (!empty($_GET["id"])) {
with :
if (!empty($_GET["id"]) && !strpos($_SERVER['REQUEST_URI'],'forum') === true) {
Waiting for a better solution ??
Forum: Plugins
In reply to: WordPress ProPlayer bbPress = XML ?I found the same bug on another site using ProPlayer :
https://17film.info/blablablabla/?id=blablablabla
So the problem is here ?
if (!empty($_GET["id"])) { header("Content-type: application/xml"); $xml = $playlistController->getPlaylist($_GET["id"]);
Forum: Plugins
In reply to: WordPress ProPlayer bbPress = XML ?I make further investigation. It’s not caused by bbPress. Every url like this return a xml playlist file when ProPlayer is active:
https://mysite.com/anyfolder/?id=anyvalue https://mysite.com/anyfolder/otherfolder/?id=anyvalue
I also tried with or without permalinks.
Thanks.