Making a configurable field translatable

What I have seen in translation plugins (qTranslate, WPML, Multilingual Press) are two approaches. One is qTranslate’s (and the defunct xLanguage): use one field (one for title, other for content, etc) to hold all translations. And then, in the front end, decode its output according to the actual language. <!–en–>English<–:–><!–es–>Español<–:–> In the back end, the … Read more

How to oEmbed from custom field, responsive to container size and responsive

I completed the task with fitvids.js by using the plugin FitVids for WordPress. Chris Coyier describes the integration with WordPress in his screencast Integrating FitVids.js into WordPress (on YouTube). My custom field name is video_url. I used the following code in my template: <?php if (!((get_post_meta($post->ID, ‘video_url’, TRUE))==”)) { echo wp_oembed_get( get_post_meta($post->ID, “video_url”, true) ); … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)