madeleod
Forum Replies Created
-
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] setting columns in admin post_typeThank you for the tip! The idea was not to use an other plugin to do so…
Forum: Plugins
In reply to: [Polylang] Double cross to add translating page in the language metaboxHi,
Thx for responding me and sorry for the belated response. But, no, that doesn’t change anything.
Still the 2 crosses.
Any other ideas?Forum: Themes and Templates
In reply to: [Renden] Adding Articles to add in the admin menuI found the way. Thx for reading.
Hi, How did you solve your problem. I have the same…
Thx for your help.
Made.Forum: Plugins
In reply to: [WP-Print] open in a popupwindowThx for your response.
I found the solution this night ?? and now it works!
Here is the good one:<script> jQuery(document).ready(function($) { jQuery('a.popup').live('click', function(){ newwindow=window.open($(this).attr('href'),'','height=600,width=600'); if (window.focus) {newwindow.focus()} return false; }); }); </script>
Made
Forum: Plugins
In reply to: [WP-Print] Print page in new windowHi,
In the same spirit, would it be possible to have a pop-up window for the printing page? Or how can I make the change?
Thx in advance.
MadeSorry for the belated response.
Thank you a lot Dudo for this new version taking into account my proposals.
Best.
Mad.Forum: Fixing WordPress
In reply to: get_post_meta and displaying string onceHi everybody,
I was able to implement “implode” by converting my string into an array…
$text= array('text :');
But doesn’t solve the second issue.
Is anybody any idea?..
Thank you for your help.
MadForum: Plugins
In reply to: [Polylang] Only translating tag and categoriesFirst of all, my apologies Jan and Chouby, for having duplicated my posts like that. I was panicking, looping for 3 days on this ‘little’ detail. I hope you’ll forgive me.
And, thanks a lot Chouby, for this little boost that, surely, saves my life!
Now, I would be able to decide which information would switch from FR to EN and vice versa.For the second point, I didn’t explain very well, sorry about that. I take an other chance:
Considering I am on a single page, displaying the post or custom post informations.
My custom posts are not translated (I unchecked into setting)
But my categories and tax are.
When I turn from FR to EN, I would like to stay to the same page having ONLY categories and tax translated. Does it make more sense that way?
So far, when I am on FR page, and click on EN, I go to the home page.I will try to figure out with your documentation post.
Am I on the right way?..In ultimate point, have you heard conflict with ‘posts-to-posts’ plugin? I’m having trouble to display categories fromm custom posts when I am on the list of standard posts.
Many thanks again for your help, patience and reading my so long posts
Mad.Forum: Plugins
In reply to: [Polylang] Only translating tag and categoriesHi,
I made a big step in my research for displaying english translated informations without duplicate my posts.Here is my code right now:
<?php // $categorie = get_the_category(); foreach ($categorie as $country) : echo $good_country = pll_get_term($country->term_id, pll_current_language()); ?> <div> <h4 ><?php echo pll_get_term($country->name, pll_current_language());?></h4> </div> <?php endforeach; ?>
The ID turns fine but I cannot display the name of my english category.
Is anybody could help me?
Thx a lotForum: Plugins
In reply to: [Polylang] Polylang – one post for 2 languagesonce again, thx for reading me.
I found the solution for this particular point: here then: https://www.ads-software.com/support/topic/query-all-language-terms?replies=26There is a little detail that I am unable to solve is:
– I have no translation of custom posts. And when I am on one those pages, and then I want to switch from en to fr, the link doesn’t work and goes to home page.. Is there any hook that could help me to change that way?
Thx again
Mad.Forum: Fixing WordPress
In reply to: Styling tags of custom postsHi,
for those who’d been interested, I found the solution here:
codex.www.ads-software.com/Function…/is_object_in_term?
Thanks to the codex.But this post gave me the part of the solution anyway:https://wordpress.stackexchange.com/questions/57536/check-if-current-page-has-given-tag-id
Mad.
Forum: Fixing WordPress
In reply to: Displlaying taxonomies or categories on custom post pageHi, it works actually. The code was correct but i needed to reset the query with wp_reset_query();
Thx for reading.
madForum: Themes and Templates
In reply to: [Simple Catch] Image slider conflicting with WPMLI have the same problem even if I deal with multilingual polylang plugin. I was wondering if cache system wasn’t simply responsible for this issue.
I am trying to make some tests to verify my idea and let you know in case I find a solution.
MadForum: Fixing WordPress
In reply to: Removiing items from front-end admin barOk, I found partially the solution. I split my functions back-end and front-end. And now it works!
Thx for your help.
Mad.