Hi,
Inside the post/article for me is working correctly, the name of author how publish the post is display only if there is no guest author set in custom field (at least for me is working like this).
Now, about the blocks and flex blocks, those are custom elements and the author name from them have a different structure, the code for that part is set here wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php => https://i.imgur.com/GrRjkiC.png and it need some custom changes to can display the guest author name on blocks.
Thank you!
The website already used the “custom field method” for guest authors and all the posts already have the guest-author custom field.
The problem is this:
– If i use the “single post author box” module or the “single post author” module sometimes they show the custom author (created with the custom filed) and sometimes the WordPress user that entered the post, depending on where I place it in the single post template.
– If i use the “Flex block” modules to show all the post in my homepage or in a post category template they always keep showing the name of the WordPress users that have entered the post.
This makes me think that the script works but the theme cannot always “read” this information.
Hi,
If you want to use the custom fields, then you need to add the code in functions.php in this file path wp-content/plugins/td-composer/legacy/Newspaper/functions.php or better set it in child theme, after that go in a post and add the new custom filed -> https://i.imgur.com/PV6YhJY.png set the guest-author and set the value for it -> https://i.imgur.com/kAXOu2B.png the results will be -> https://i.imgur.com/wzujZ0j.png
I hope this will help you!
Unfortunately, i can’t use a plugin because i installed Newspaper in an existing site (with more than 4000 posts) that already used the “custom field” method for guest authors. WordPress and default WordPress themes recognize the code, the problem is with Newspaper.
Hi creativit, I think that it will be more easy to use a dedicate plugin for guest author, like this one Molongui Author Box, Guest Author & Co-Author.
I hope this will help you!
I need to display a “custom author”, created with custom field, in place of the WordPress user who entered the post. I add this code in my functions.php file to replace the author’s name with the text that i put in a custom field called “autore”:
add_filter( 'the_author', 'guest_author_name' );
add_filter( 'get_the_author_display_name', 'guest_author_name' );
function guest_author_name( $name ) {
global $post;
$author = get_post_meta( $post->ID, 'autore', true );
if ( $author )
$name = $author;
return $name;
}
WordPress recognizes the code and it shows the “custom author” (created with the custom field) while the theme keeps showing the name of the WordPress users that have entered the post.
Plus i need to show a page with all the posts associated with the custom author (like an archive page).
Thanks
Hi, the comment box is missing in the single post, but when i tried to check it via editor the comment is on.
This is the flow. Guest cant see the comments or even cant see the comment box. Only registered users can
I turned on the comment box will show for registered users only, but when i tried to check it, its not showing up.
If i turned on the allow comments under discussion on the post, it will show up but its public even guest can see it and i dont want guess to see it.
This is my website: https://sofx.com
Are there any solutions you suggest?
Since the earlier theme was working with the plugin, almost every article is affected as the current theme does not work for it.
Is there any alternative within the theme to accommodate guest writers?
We have a lot of articles from guests who are not added as users in WordPress. The author bio of these guest authors also needs to be displayed on the posts. Can you please suggest if there is a feature that allows us to do so on the Newspaper there? Or, is there a plugin that can be used for this purpose to show guest author without being added as users on WordPress?
Hi I have the Guest Author plugin installed and it works fine when I have the author box at the bottom of the page or in the sidebar. The minute I move the Author Box to the top of the Single Post Template it defaults away from the guest authors name to our user name. Is there anyway to fix this as I’d like the authors name to appear at the top if possible?
Hello!
1. No, I want to stretch whole site a little, but keep boxed https://www.screencast.com/t/2QJgBRBbz9F
3. Deactivated all plugins except TagDiv but problem still remains
4. Ok, but how to add a tags to my article when I am posting? There is no such function
5. I like this style but I want in blue color https://www.screencast.com/t/SgvrZ44Pr
6. I would like to change comments style https://www.screencast.com/t/BsX7EU4R
When you want to comment, there is a prompting to enter with google, or vkontakte, or site, or guest (site example https://glamurchik.tochka.net/271954-keti-perri-perestala-brit-nogi-posle-rozhdeniya-perventsa/)
7. I would like to add a pushable smiles after article (with editable text only for me)
https://www.screencast.com/t/PxYninbUV
Thanks
-
This reply was modified 5 years by
mikevanmoonlight.
-
This reply was modified 5 years by
mikevanmoonlight.
Hi, is there a plugin to create a guest author for a post that is compatible with your theme?
I have tried two, but they are not compatible
Thanks
Hello,
I want to display a specific button (icon) only to a logged in users, and different button (icon) for guest users. I am talking about “Login icon” in header menu. How can I do that?
Thanks,
Berbic A.
there are 2 differences between login or not
when login the background and featured image is shown up
https://cdn.discordapp.com/attachments/751835816225144953/816855022418919424/unknown.png
and when logout / visit the website as a guest the featured image / bg not shown
https://cdn.discordapp.com/attachments/751835816225144953/816855106376826960/unknown.png
Hello!
It is recommended not to minify the HTML when you are using the TagDiv Composer and Cloud Library because it might break them just like it happened in your case.
For the live version of the website, there shouldn’t be any problem with that.
If you use a plugin to minify your HTML, then check for an option to not minify the HTML for admins and only for guests.
Hope that helps you!
Thank you!
Hello,
For some guest users, who use private browsing ( without any cookies etc ), and they land up on the post, they end up seeing AMP/Mobile theme.
What could it be?
Thanks
Hi limez, this can be done with plugins, or with custom css for all users.
But if you want only for guest authors I think that using a plugin is better.
Thank you!
Hello. I am using (Simply) Guest Author Name plugin to allow guest post on my blog. How can I automatically set nofollow tag for the URL? I have tried tweaking the plugin but it does not allow me to change the rel tag. I think this will be on the theme itself.
i am having some folks who want to blog without creating user on the wordpress? does newspaper support?
Can I give you guest access to my site so you can look at the issue and fix it? I do not have any caching plugins that would be causing this. The issue started right after I updated the theme.
Please advise. This is causing an issue with viewing the posts before they go live.
Strange bug.
https://magazin.adeba.de/?p=59537&secret=QsxFcF
Logged in User Design is nice
Guest User is not nice
When you view the AMP version of the site fortworthbusiness.com you use to be able to click the mobile menu icon and get the menu, but now you don’t, it looks like it tries to load and if you inspect the code it looks like it is there but you can not click nor does it display? I don’t know if related, but I experimented with the new Mobile Templates from cloud template and decided not to test further and deleted the page, I checked my Mobile settings in the Theme Panel, I tried Mobile+AMP and just AMP, checked the correct menu was selected and changed the menu to test others same result, if you are not logged in the menu doesn’t display. I don’t know if it is leftover from the Mobile Template I tried to import or something else, I am trying to test plugins compatibility, but when I only activate Newspaper theme and its plugins, I am still logged in, and I can use user switching but still logged in, and when you are logged in, the menu appears, it is very weird. It had been working before. Any suggestions? I am limited minus actually disabling all the plugins, which I can’t do on the live site. NOTE: if you just do screen resize and look at the page, which I believe is just the Mobile version, menu works fine, so strictly an AMP issue. Maybe I can disable and remove the AMP mobile plugin and reinstall, but not sure what settings will be lost. Posting in part if others have the same issue and if it was in fact related to testing out the new Cloud Mobile Template.
Hi Calin,
I can give you the access, ’cause as I said before we’re not online yet.
You can enter in http://www.sommelierlife.it/wp-admin with guest1 pw.Silvia2020@
Please let me know,
Thanks
Hello!
Using beauty pro demo theme to build the site.
Wanted to have guest author’s bio at the end of each post with picture. Please let me know how I can show these. Posts will have different author’s bio based on their article/content contribution on the site.
Thanks
I have tried and tried and searched the forum and turorials – I have chaged all the fonts in THEME panel to 14px
But still the fonts appear in different sizes on pages
Please could you advice how to make all posts 14px
And Georgia font
this should be basic best practice for a newpaper website to keep uniformity throughout with Guest authors and regular authors
It should not take someone (me) many hours of testing – research – to achieve this