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

Thanks. Worked like a charm.
unfortunately it seems that the mobile theme doesn’t support a child theme, right?

mbasche
tagDiv Member

OK, thanks. Actually, it doesn’t make sense for me. I hope for an future update. 🙂

mbasche
tagDiv Member

Any news on this?

mbasche
tagDiv Member

Thank!

mbasche
tagDiv Member

Too bad. 🙁
Thanks anyway!

mbasche
tagDiv Member

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?

mbasche
tagDiv Member

But in wordpress the “default” caption for an image allows html-Code. Why do you clean up here?

mbasche
tagDiv Member

Same here.

mbasche
tagDiv Member

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.
mbasche
tagDiv Member

Thanks. Maybe a suggestion for further updates. 😉

mbasche
tagDiv Member

Then you did something wrong. Maybe you show me your settings via screenshot…

mbasche
tagDiv Member

Did you used the original “newspaper-child” theme with including the css from the original?

mbasche
tagDiv Member

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 {}
;?>

mbasche
tagDiv Member

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!

mbasche
tagDiv Member

As Lucian wrote, you can find it in the “xxxxx_postmeta” as metakey = “td_post_theme_settings”

mbasche
tagDiv Member

What a dumb question!

mbasche
tagDiv Member

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!

mbasche
tagDiv Member

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.
mbasche
tagDiv Member

For sure the wp_link_pages() works for pages! 😉
In the standard wordpress themes (eleven, twelve…) pagination with <!–nextpage–> in pages works.

mbasche
tagDiv Member

The default WordPress gallery like this: [gallery columns="1" link="none" ids="xxx"]

mbasche
tagDiv Member

Ups, sorry…

mbasche
tagDiv Member

Sure, but it comes with own template in \wp-content\themes\newspaper\bbpress

http://demo.tagdiv.com/newspaper/forums/

mbasche
tagDiv Member

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();
					};?>
mbasche
tagDiv Member

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

mbasche
tagDiv Member

Already done. 🙂
Thanks!

Viewing 25 posts - 1 through 25 (of 129 total)