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

sorry I was using the wrong amp code…

greenplanner
tagDiv Member

and there’s an easy – and possibily automatic – way to migrate ALL the settings of the newsmag theme to the new newspaper one?

greenplanner
tagDiv Member

hi Fabio, simply add a copy of that file into the child theme directory
the changes you do to the file won’t be override with theme update

greenplanner
tagDiv Member

Calin, for the AMP pages I did as you suggested but the adv isn’t showing

all was fine before applying the mobile theme
instead adv on the mobile theme (not AMP) is working fine

how can I fix it?

greenplanner
tagDiv Member

I did it but the adv isn’t showing…

in the general panel the adv script is present (on the desktop it works fine)

https://imgur.com/a/hYttmVa

I put the script also in the mobile theme field (https://imgur.com/YMcVC2L) but on mobile isn’t working (I imagine that the general script wasn’t loaded

on the AMP – as you know – you needd a script in the head section and a script in the body… it isn’t working… (https://imgur.com/k9MUvhl)

how can I fix it?

greenplanner
tagDiv Member

thanks Calin,
regarding the sidebar… how can I in the specific tag code call a custom sidebar?

I imagine is possible to change this call <?php dynamic_sidebar( ‘td-default’ ); ?>

the header is more complicated… I just need to have a custom ads banner in the tag page…

Paolo

greenplanner
tagDiv Member

to better explain what I need… I already created a specific tag-ID.php file for the tag I needd to customize

in this code… how can I indicate to use a specific header and a specific sidebar?

<?php
get_header();

$current_tag_name = single_tag_title( ”, false );
?>

<div class=”td-container td-category-container td_category_template_1″>
<div class=”td-container-border”>
<div class=”td-pb-row”>
<div class=”td-pb-span8 td-main-content”>
<div class=”td-ss-main-content”>
<div class=”td-page-header td-pb-padding-side”>
<?php echo tagdiv_page_generator::get_breadcrumbs(array(
‘template’=>’tag’,
‘tag_name’=>$current_tag_name
)) ?>
<h1 class=”entry-title td-page-title”>
<!–<span><?php esc_html_e(‘Tag’, ‘newsmag’); echo ‘: ‘ . $current_tag_name ?></span>–>
<span><?php echo $current_tag_name ?></span>
</h1>
<?php //the category description
$td_tag_description = tag_description();
if (!empty($td_tag_description)) {
echo ‘<div class=”td-category-description”>TAG: ‘ . $td_tag_description . ‘</div>’;
}
?>
</div>

<?php
get_template_part(‘loop-archive’ );
tagdiv_page_generator::get_pagination();
?>
</div>
</div>

<div class=”td-pb-span4 td-main-sidebar”>
<div class=”td-ss-main-sidebar”>
<?php dynamic_sidebar( ‘td-default’ ); ?>
</div>
</div>
</div> <!– /.td-pb-row –>
</div>
</div> <!– /.td-container –>

<?php
get_footer();

greenplanner
tagDiv Member

thanks Calin
very much appreciated
Paolo

greenplanner
tagDiv Member

hi Calin, thanks
is it possible here (https://www.greenplanner.it/regalare-green-planner-2020/) having just the central contents?

no header, breadcrumb, footer? thanks
Paolo

greenplanner
tagDiv Member

it doesn’t work… isn’t a problem of the template
I changed it but the image is always little that it should be

https://www.green-planner.com/prospects-of-investment-in-the-gas-industry-100/

can you help?

greenplanner
tagDiv Member

hi any news on our problem?

greenplanner
tagDiv Member

hi any news on our problem?

greenplanner
tagDiv Member

yep… we removed the coming soon page
thanks for helping

greenplanner
tagDiv Member

yep, you’re right
we removed the coming soon page

thanks for helping

greenplanner
tagDiv Member

here what I mean: https://imgur.com/a/yfqgAE3

the image should arrive to the sidebar in width…

greenplanner
tagDiv Member

deleting for the img via css the auto pèroperty for height solve the problem… how can I disable it?

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