Question
I want to show a custom post type chosen from the meta box dropdown list but i am getting this error Notice: Trying to get property of non-object in C:xampphtdocswordpresswp-contentthemesaffiliatorfooter.php on line 20 Here is my code: $get_footer = get_post_meta( get_the_id(), 'af_choose_layout', ...
0
, , 8 months 0 Answers 89 views

Question
im a beginner with PHP, so i hope that someone can help me solving this issue. I want to display the expiration date of a post with the following plugin https://wordpress.org/plugins/advanced-schedule-posts/ I've think i can use: $hasp_expire_date = get_post_meta( $post_id, ...
0
, 1 year 0 Answers 72 views