Show comon custom field results?

//Your color codes $str1 = “000000 f0f0f0 c0c0c0 202020 404040 “; $str2 = “0000ee 555333 cc0000 602040 003399 “; $str3 = “9999cc 0000cc 0099ff 204010 552299 “; $str4 = “406040 ffffff ffcccc 000000 202020 “; $str5 = “cc0000 99ffcc cc9900 ff9999 000000 “; //creating an array and merging all codes $final_arr = array_merge( explode(” “,$str1),explode(” … Read more

Using ACF Custom Field value in a URL with do_shortcode() [closed]

Simply you need to replace the_field(‘video’) with get_field(‘video’). Why? Because according to ACF documentation; get_field($field_name, $post_id, $format_value) Returns the value of the specified field. Whereas on the other hand the_field($field_name, $post_id) Displays the value of the specified field. (this is the same as “echo get_field($field_name)”) Hope this might help others as well.

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