Forum Replies Created
-
AuthorPosts
-
vagelisMemberGreat!! Thank you Steve!
vagelisMemberIt’s working for label, so it should work for choices too. Thanx.
vagelisMemberI’ve used this here:
piklist('field', array( 'type' => 'select' ,'field' => 'yachts_engine_type' ,'label' => 'Τύπος μηχανής' ,'value' => '' ,'attributes' => array( 'class' => 'text' ) ,'choices' => array( '' => pll__('Choose Type') ,'option1' => 'Εξωλέμβια' ,'option2' => 'Έσω - Εσωεξωλέμβια' ) ));and it displayed in english. I’ll register the string and get back to you. For it to work must I change the admin language to Greek?
vagelisMemberOk. Sending it to you now.
vagelisMemberUpdate. I’ve completely removed the post editor from function.php but the issuw still persists. I’ve spaces between titles and some Greek, maybe that is what is causing this??
vagelisMemberNo Steve. Still happening. Hadn’t had time to check it further
vagelisMemberNop. Same thing. Removed the excerpt just in case but with no luck.
vagelisMemberYes it is. What am I missing?
vagelisMemberThe default should be the flow with Title “Μηχανοκίνητα < 25ft” but I must click on it to select it.
Attachments:
You must be logged in to view attached files.
vagelisMemberStrike! Just perfect Steve. Thanx.
vagelisMemberOk, no harm done. 🙂 All solved here. Thanx again.
vagelisMemberI’ve managed to get it working with this:
$terms = wp_get_post_terms($post->ID, 'manufacturers', array("fields" => "names")); echo $terms[0];But it’s not the piklist way. I could not figure out what to put on the “key” value on get_term_meta to get the name of the ‘manufacturer’. Care to elaborate Steve? Thanx for the help.
vagelisMemberYes!! Sorry for the fuss. Up and running. Thank you very much Steve.
vagelisMemberThanx Steve. It was Polylang’s fault. All done.
I’ve noticed another strange thing with my post type. The title next to the “Add New” button is showing in singular and not plural (it’s Yacht and not Yachts as in default WordPress’Posts). Any ideas?
vagelisMemberNot really, Just used it cause I thought it was essential for the metabox to work, following the documentation. I’ve removed it and all is well! Thanx again Steve for your help!
-
AuthorPosts