Thanks. Worked like a charm.
unfortunately it seems that the mobile theme doesn’t support a child theme, right?
OK, thanks. Actually, it doesn’t make sense for me. I hope for an future update. 🙂
Any news on this?
Thank!
Too bad. 🙁
Thanks anyway!
But due to copyright law you have to credit the author/photographer (some with link) and thats why this is very important. Maybe in a future update?
But in wordpress the “default” caption for an image allows html-Code. Why do you clean up here?
Same here.
Maybe this is a topic for the next newspaper update. Now I’ve to insert every single new video id to the list. Better to use a youtube playlist id!
-
This reply was modified 10 years by
mbasche.
Thanks. Maybe a suggestion for further updates. 😉
Then you did something wrong. Maybe you show me your settings via screenshot…
Did you used the original “newspaper-child” theme with including the css from the original?
Use the “Custom Field” Plugin as described with type yes/no
In loop-single.php use this code:
<?php if (!get_field('your_customfield_name')) {
echo $td_mod_single->get_author_box();
} else {}
;?>
As I wrote in your other topic: for sure you can find it in the database! You only have to know how to export it!
As Lucian wrote, you can find it in the “xxxxx_postmeta” as metakey = “td_post_theme_settings”
What a dumb question!
Found a solution so far. 🙂
In page.php after <div class="td-page-text-content"><?php the_content();?></div>
use this
<?php wp_link_pages(array(
'before' => '<div class="page-nav page-nav-post">',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'nextpagelink' => ' ' . __td('Next') . '
',
'previouspagelink' => '
' . __td('Prev')
)); ?>
Now it’s look the same in posts and pages!
The pagination for pages is not styled
This is what it looks like when I use <?php wp_link_pages(); ?> in pages

This is what pagination in a post looks like

-
This reply was modified 11 years by
mbasche.
For sure the wp_link_pages() works for pages! 😉
In the standard wordpress themes (eleven, twelve…) pagination with <!–nextpage–> in pages works.
The default WordPress gallery like this: [gallery columns="1" link="none" ids="xxx"]
Ups, sorry…
Sure, but it comes with own template in \wp-content\themes\newspaper\bbpress
Ths works for me in loop-single.php
<?php //echo $td_mod_single->get_author();
$coauths = get_coauthors();
if (count($coauths) > 1) {
echo "von ";
foreach($coauths as $key => $coauth) {
echo '<a href="/author/'.$coauth->user_nicename.'">'.$coauth->display_name.'</a>';
// add "and"
if ($key != count($coauths)) {
echo ' und ';
$coauths = substr($coauthsHTML, 0, -4);
}
}
} else {
echo $td_mod_single->get_author();
};?>
Hi, it seems that you ignored the threat where you’ve posted too. 😉
https://forum.tagdiv.com/topic/co-authors-guest-author-and-author-link/#post-14146
The code works in single-loop.php or similiar – but not for author bio
Already done. 🙂
Thanks!
