Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
wixoo
tagDiv Member

panel -> mobile theme -> custom css
dont work for AMP !!
any solution to add custom css in AMP version ?

wixoo
tagDiv Member

i’m not talking about any playlist or youtube video;
the problem is $post->ID in my shortcode script give me the template ID not the post ID !

wixoo
tagDiv Member

here the shortcode function code :

add_shortcode(‘field’, ‘shortcode_field’);

function shortcode_field($atts){
extract(shortcode_atts(array(
‘post_id’ => NULL,
), $atts));
if(!isset($atts[0])) return;
$field = esc_attr($atts[0]);
global $post;
$post_id = (NULL === $post_id) ? $post->ID : $post_id;
return get_post_meta($post_id, $field, true);
}

the problem is $post->ID give me the template ID not the post ID !

wixoo
tagDiv Member

Thank you
but i can’t found mobile template php file

wixoo
tagDiv Member

Found it !
/wp-content/plugins/td-standard-pack/Newspaper/parts/single/
Thanks !

Viewing 5 posts - 1 through 5 (of 5 total)