No search results were found in Documentation!
Hi,
You could use an author box for example, on pages. It will display all the author/authors you want
– https://www.screencast.com/t/l1pYHY0P8
– https://demo.tagdiv.com/newspaper/author-box/
An author page is created automatically, it looks like this
– https://demo.tagdiv.com/newspaper/author/admin/
The sidebar and module used to display posts in this page can be changed in the Theme panel->Template settings
– https://www.screencast.com/t/KYhcqYpn2
Thanks
For some reasons the php code is broken after I publish the post and I cannot edit the post anymore.
The correct code is here:
Plugin used: Co Authors Plus 3.2.2
Multiple authors links below the article title
Modified files: find the file template that you want to use > loop-single.php, loop-single(1, 5, 9, 10).php, single_template_(2, 3, 4, 6, 7, 8, 11, 12, 13).php,
Replace this:
<?php echo $td_mod_single->get_author();?>
With: https://pastebin.com/7Y8kpfTy
CSS:
header .td-post-author-name.multiple-authors a {
margin-right: 0;
}
header .td-post-author-name.multiple-authors .td-author-by {
margin-right: 5px;
}
.td-post-author-name.multiple-authors a:after {
content:”,”;
margin-right: 6px;
}
.td-post-author-name.multiple-authors a:last-of-type:after {
content:””;
margin-right: 3px;
}
Multiple authors boxes on article page
Modified files: find the file template that you want to use > loop-single.php, loop-single(1-13).php
Replace this:
<?php echo $td_mod_single->get_author_box();?>
I needed multiple authors names below the title and multiple authors boxes on articles. Using the various solutions found on this forum I have compiled a complete solution
Plugin used: Co Authors Plus 3.2.2
Multiple authors links below the article title
Modified files: find the file template that you want to use > loop-single.php, loop-single(1, 5, 9, 10).php, single_template_(2, 3, 4, 6, 7, 8, 11, 12, 13).php,
Replace this:
<?php echo $td_mod_single->get_author();?>
With:
<?php
if (td_util::get_option(‘tds_p_show_author_name’) != ‘hide’) {
//echo $td_mod_single->get_author();
$coauths = get_coauthors();
if (count($coauths) > 1) {
echo ‘<div class=”td-post-author-name multiple-authors”><div class=”td-author-by”>De către</div>’;
foreach ($coauths as $key => $coauth) {
echo ‘user_nicename . ‘”>’ . $coauth->display_name . ‘‘;
}
echo ‘<div class=”td-author-line”> – </div></div>’;
} else {
echo $td_mod_single->get_author();
};
}?>
CSS:
header .td-post-author-name.multiple-authors a {
margin-right: 0;
}
header .td-post-author-name.multiple-authors .td-author-by {
margin-right: 5px;
}
.td-post-author-name.multiple-authors a:after {
content:”,”;
margin-right: 6px;
}
.td-post-author-name.multiple-authors a:last-of-type:after {
content:””;
margin-right: 3px;
}
Multiple authors boxes on article page
Modified files: find the file template that you want to use > loop-single.php, loop-single(1-13).php
Replace this:
<?php echo $td_mod_single->get_author_box();?>
With:
<?php
if (td_util::get_option(‘tds_show_author_box’) != ‘hide’) {
//echo $td_mod_single->get_author_box();
$coauths = get_coauthors();
if (count($coauths) > 1) {
echo ‘<div class=”author-box-list”>’;
foreach ($coauths as $key => $coauth) {
echo ‘<div class=”author-box-wrap”>user_nicename . ‘”>’;
echo get_avatar( $coauth->user_email, ’96’ );
echo ‘<div class=”desc”><div class=”td-author-name vcard author”><span class=”fn”>user_nicename . ‘”>’ . $coauth->display_name . ‘</span></div>’;
echo ‘<div class=”td-author-description”>’ . $coauth->description . ‘</div>’;
echo ‘</div><div class=”clearfix”></div></div>’;
}
echo ‘</div>’;
} else {
echo $td_mod_single->get_author_box();
};
}?>
Note: the multiple author boxes will work only with default users gravatar, not with the custom avatar plugins
Hope that helps
Hey there.
I have tried many different themes for a small newspaper site we’re launching and yours is by far the best I have encountered.
There is one stumbling block: how do you recommend that I create About Us and Upsell pages? You have amazing options available for curating entries/posts but I’m struggling to find good shortcodes or elements for creating compelling About Us (author profiles, company history, timeline elements, photos) or Upsell (link boxes, etc) pages.
Being new to the platform, this is probably a limitation of my own knowledge. Do you have any examples or documentation for how to best create these pages?
Thanks for your time!
Hi,
If the post has multiple categories these will all be displayed as classes in the article code. For example
– https://www.screencast.com/t/DCo48fb1mVo
So if the category you want to hide this element, is present in the article classes, the next/prev will not be displayed and will be affected by the code. This could be done by using the post Id specifically, or by post template maybe
– https://www.screencast.com/t/EyxZnpQ34
– https://www.screencast.com/t/L1G2tsrHGa
The second code you mention will remove the related posts section on all posts. It should be like this to apply on a specific post
.postid-450 .author-box-wrap,
.postid-450 .td_block_related_posts {
display:none;
}
Thanks
Hi,
I tried to hide some elements for a specific Category in Articles.
bands = title form
I used this css code:
.single .category-bands .td-post-next-prev-content {
display:none;
}
The code works but it disable the element on all Articles.
I tried also to disable the elements in only one specific Article by using the post-id:
.postid-450 .author-box-wrap, .td_block_related_posts {
display:none;
}
Same result. Can you help me?
Also useful to read the WordPress docs on how to create posts.
When you create a new post while logged in as admin, you can choose from any existing ‘author/user’ you have created, from a drop down on the post edit page when making a new post.
So, if you login as ‘superadminguy’ and then you want to create a post as “Joe Smith” you simply ‘select’ that author from the author drop down box on the post edit page — this is built into WordPress and not theme related.
Then when post is published, the author meta you’ve created for that ‘user’ is shown at bottom of the post as the author, not the superadmin.
If that was not what you meant – sorry to butt in 😉
Hi, I think my question is not clear.. The current settings only ads social icons to the author box. Instead of icons, possible to add the authors “Follow” button for twitter & facebook?
Hi,
How do i add facebook follow button and the twitter follow button for the authors in the author page and in the author box?
Can I type a post as admin and publish it instead of the author? This is to avoid that different authors could make a mess in the graphics. Then for each post by different authors but typed by me (admin) I would like each and author box with photo and details for each author. Is that possible?
Hi,
Please add this code in your theme panel-> custom css box.
.td_block_author .td-author-name{
text-transform:none;
}
.td_block_author a:hover{
color:#406e87;
}
Thanks.
Often the 502 happens due to too many processes running (kill script). You can try limiting queries, turn off stuff like XMLRPC, images in search box, related stories with images (more from author), ajax show more, infinite pages scripts, mega menus with posts; increase execution time for php, memory allocated to site, memory allocated to WP (e.g,. 256M vs default 40M in wp-config.php – ) etc.
The following WordPress plugins are recommended, based on our own experience. You may choose to use a different method.
FeedWordPress — this versatile plugin allows you to import RSS feeds from Send2Press into your news portal, and choose how to post, set author(s), and fully automate live posts.
» https://wordpress.org/plugins/feedwordpress/
Auto Post Thumbnail PRO — this modestly priced plugin ($14) is a proven solution for capturing the first image in our feed to add to your media database and assign as the “featured” image for the posts built with FeedWordPress. Seriously, we’ve tried other stuff and this one simply works. With most WP themes, your category and index module thumbnails are made from a featured image, so without that you’d have either empty boxes, or a fallback image which isn’t very attractive.
» https://codecanyon.net/item/auto-post-thumbnail-pro/4322624?ref=neotrope
Original Source Link:
If you wish to include the original source meta tag in your HTML header, you can add the following code to your WP theme (usually in header.php before the closing head tag). This basically pulls the source permalink custom field created by FeedWordPress so you can print in your meta data.
<?php if (is_single()) {$syndication = get_post_meta($post->ID, ‘syndication_permalink’, true);if (!empty($syndication)) { ?><meta name="original-source" content="<?php echo $syndication; ?>“/><?php }} ?>
Hi,
The author box comment counter, counts the number of comments made by that author
– https://www.screencast.com/t/t62ByL5SVX6
Not comments made by other users to the posts of that author, if that is what you mean. So the author has this many posts and this many comments as the author box displays.
Thanks
Hi Simion
I inserted the blocks 25 and copied the style but the result is different from the erotic theme, what is missing ?
here the final result: http://www.energiemagazine.com
.td-erotic .td_module_mx17:hover .td-module-meta-info {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.13);
}
.td-erotic .td_module_mx17 .td-module-image {
margin-bottom: 0;
/* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
.td-erotic .td_module_mx17 .td-module-image {
height: 350px;
}
}
.td-erotic .td_module_mx17 .td-module-image .td-post-category {
position: absolute;
left: 0;
right: 0;
bottom: 15px;
margin: 0 20px;
text-align: center;
font-size: 12px;
font-weight: 700;
background-color: #fff;
color: #000;
padding: 15px 8px 10px;
}
.td-erotic .td_module_mx17 .td-module-meta-info {
text-align: center;
padding: 10px 20px 25px 20px;
margin: 0 20px;
background-color: #fff;
bottom: 15px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.2s ease;
/* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
.td-erotic .td_module_mx17 .td-module-meta-info {
padding: 0 10px 25px 10px;
}
}
.td-erotic .td_module_mx17 .entry-title {
margin-bottom: 55px;
font-size: 20px;
line-height: 28px;
font-weight: 700;
/* responsive portrait tablet */
}
@media (min-width: 768px) and (max-width: 1018px) {
.td-erotic .td_module_mx17 .entry-title {
margin-bottom: 40px;
font-size: 16px;
line-height: 24px;
font-weight: 700;
}
}
.td-erotic .td_module_mx17 .td-module-comments {
display: none;
}
.td-erotic .td_module_mx17 .td-post-author-name,
.td-erotic .td_module_mx17 .td-post-date {
font-size: 11px;
}
thanks for your help
Hello,
in my article page have a
[Content article]
[Author box]
[Related Article box]
is possibile move Related Article box above Author box?
[Content article]
[Related Article box]
[Author box]
thanks
Hi,
The author name on blocks and modules can be deactivated in the theme panel
– https://www.screencast.com/t/zEv491dD
The author box is displayed on the post page, you probably deactivated that
– https://www.screencast.com/t/4ay88pwmhL
On posts the setting is this one
– https://www.screencast.com/t/EEQvI8THgiOw
Thanks
Hello! I would like to add an extra field to the author boxes. For example, I would like to add the location of each author below their name. Is the “Extra Class” field the place to do this? I see the instructions read: “Style particular content element differently – add a class name and refer to it in custom CSS.” What is the code to do this in custom CSS? Thanks for your help!
How do I remove my name from showing up. I unchecked the author box. It still shows up. Any help would be greatly appreciated. http://newauburnnews.com/index.php/news/
Hi,
I have inspected your website and I saw that you are using an inappropriate image size for your author box and that’s why your image is blurry. Change it to another large image. Please check here -> https://www.screencast.com/t/LXj2e85Yxa
Thanks.
Hello,
In order to remove more from author you can use 2 methods:
The css method:
.td_block_related_posts .td-related-right {
display:none;
}
You can add the code in the theme panel-> custom css box.
Or you can edit the theme files: comment out or delete this part: http://screencast.com/t/Okmq7lxTDzGd
Thanks.
Hi,
The author box displayed in the post page can only be disabled for all the posts in the theme panel
– https://www.screencast.com/t/k2Mkzyk8Jc
You could hide the author box with some CSS on the post type you want, if you should consider this a solution
– https://www.screencast.com/t/1bQEnxdZ6
Thanks
So, how do I fix it so that the author image is not blurry? Where to I modify the code? In the Custom CSS box or here: page-author-box.php
Ideally, I want to use the images that have been uploaded and have them be sharp. Also, when I upgrade the theme, I don’t want this code to break. Thanks for helping.
I have a problem with my author box at the end of every article. In the box, there’s everything except authors picture. I set everything right and it was ok, the picture was there, but not now. Thanks for your help.
Hi, how to disable the author box on pages from a custom posttype?
Thanks
Sebastian