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 :)
marquezchristina98
tagDiv Member

Hi,
Where should I be adding my custom code? If I’m understanding correctly, this is the piece I need to add: <$meta = get_post_meta($post->ID,’user_submit_url’,true);
echo ‘‘.$meta.’‘;>

I am not sure where I should be placing this code.Here is the code that is currently in module flex 5: </// meta info html
$meta_info = ”;
if (($category_position == ” && $hide_cat != ‘hide’) || $hide_author_date != ‘hide’) {
$meta_info .= ‘<div class=”td-editor-date”>’;
if ($category_position == ” && $hide_cat != ‘hide’) { $meta_info .= $this->get_category(); }

if( $hide_author_date != ‘hide’ ) {
$meta_info .= ‘<span class=”td-author-date”>’;
if ($author_photo != ”) {
$meta_info .= $this->get_author_photo();
}
if( $hide_author != ‘hide’ ) {
$meta_info .= $this->get_author(true);
}
if( $hide_date != ‘hide’ ) {
$meta_info .= $this->get_date($modified_date, true, $time_ago, $time_ago_add_txt);
}
if( $hide_rev != ‘hide’ ) {
$meta_info .= $this->get_review();
}
if( $hide_com != ‘hide’ ) {
$meta_info .= $this->get_comments();
}
$meta_info .= ‘</span>’;
}
$meta_info .= ‘</div>’;
}>

marquezchristina98
tagDiv Member

Hi Calin – It looks like the tutorials you posted are no longer available. Is there a good resource to figure out how to get Adavanced Custom Fields to work with Newspaper?

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