Use qTranslate on custom fields in customize.php - wordpress

Is there any way I can make it to work with WordPress's customize.php (for the custom input fields) in my template?
Right now it look like this:
http://2.1m.yt/ZWxITnN.png
I don't have any blue border here, how do I get that to work?
Appearance -> Customize
Please help me!

I think the translation using qTranslate plugin doesn't support Appearance > Customize. This will be a limitation to a free plugin. You must try asking the same question to plugin author in Wordpress Support Forum.
Hope Plugin Author can help!

Related

Add options to wordpress gallery function

Is it possible to add custom options (checkboxes and selectfields) to the default gallery settings in wordpress and then query them as parameters in the code?
Examples or links to corresponding tutorials would be great :)
See if advancedcustomfields helps you. This allows you to create additional option fields. But then you would have to deal with the plugin yourself.
But if you do a lot with WordPress and with WordPress programming you can generally recommend advancedcustomfields anyway.

Add extra attributes to link in wordpress gutenberg editor

I would like to add a couple of custom attributes to the link popup on the Gutenberg editor in wordpress. Would like to have something in the following lines:
There is currently a pending issue for the same on the Gutenberg's Github page: https://github.com/WordPress/gutenberg/issues/11599
Is there a way to achieve what I am looking for? Any help would be appreciated.
I'm also looking to extend with new controls the link panel. However, I did not found an easy to understand exemple yet. Here is how the Yoast Seo plugin is doing though.

Writing a wordpress plugin: add_meta_box vs. add_settings_field?

I'm writing a custom wordpress plugin and trying to incorporate some functionality from a third-party plugin. That plugin seems to use add_meta_box to create the fields for settings options on the plugin admin pages. I searched the entire source code of the plugin for add_settings_field and it doesn't occur once. Are the two functions basically interchangeable? From the WP Codex, it seems that add_meta_box is primarily for the purpose of adding "a custom section to the post and page editing screens" -- i.e. not so much intended for the admin settings/options forms. On the other hand, the 3rd-party plugin seems to work very well, which is why I'm borrowing from it...
So in short my question is this: can someone please explain correct usage for the add_meta_box and add_settings_field functions? Thanks! Please let me know if anything about this question is unclear and I will do my best to rephrase.
This is a settings field (Slug):
This is 2 Meta Boxes (publish and categories):

Yoast SEO and custom fields

I was wondering if it was possible to use the advanced custom fields - wysiwyg editor as the default editor for the main content and let yoast read that instead of the default?
Or if that isn't possible then if it is somehow possible to dublicate the content from acf to the main editor.
Or if there is any other way please help.
Thanks
This answer is a bit slow in coming, but we had the same exact question and decided to build a plugin to do this:
http://wordpress.org/plugins/ns-seo-custom-fields/
We just released it and found others looking for a solution like this question and hope that it's helpful to the great WP community.
There are a couple of solutions you can work with.
If you search for Yoast and ACF on the plugin directory you can find the one you like best: https://wordpress.org/plugins/search.php?q=yoast+ACF
We have a plugin of our own: https://wordpress.org/plugins/yoast-seo-acf-analysis/
Which is open source, so if you find any problems or think of enhancements you can create an issue at the github project: https://github.com/Yoast/yoast-acf-analysis
Hope this helps you.
Jip from Yoast

Wordpress custom meta box to include background picture

I am designing a WordPress theme and would like to post recipes. The text (ingredients, etc.) will go into the main post window, but I would like to include a picture, which should become the background picture of the whole window. The usual Upload/Insert includes the picture into the post. Is there any better way of associating a picture to a post? Should I use the Custom Fields for this?
To make your life easy i recommend a plugin for that The Advanced custom fields
Its very easy to use. You can get full documentation here
This plugin always save my development time.
Hope it will help
Check out WP-Alchemy.
http://www.farinspace.com/wpalchemy-metabox/
It's incredible. It can be implemented into a plugin, or a theme. I have used it and it works great!
Otherwise, the term you are looking for is "Wordpress Custom Meta Box" throw that in google, and you will get more info than you probably wanted.
If you are more of a wordpress codex junkie, check out the add_meta_box function.
http://codex.wordpress.org/Function_Reference/add_meta_box

Resources