Search Results for 'author box'

Results from the Forum
Catalin
tagDiv Staff

Hello Sebastian Escobar,

Do you want to show the author box in mobile mode? Try to use the code below and place it in Theme panel
-> Custom CSS area.

The code is ->

@media(max-width:767px){
.author-box-wrap.Maricel7{
display:block!important;
}
}

If is not what you mean, provide more details.

Thanks for the message!

Sebastian Escobar
tagDiv Member

Hi, for example this page: http://chilecientifico.cl/chilecientifico/2017/04/12/videos/
in mobile view, I can see admin box at below.
This don’t show in desktop, because I have the specific style:
.author-box-wrap.Maricel7{
display:none;
}
But I can see it in mobile, look a sample here (I can’t send a url of a mobile view): http://chilecientifico.cl/chilecientifico/mobile-view.jpg

Catalin
tagDiv Staff

Hello Sebastian Escobar,

Please provide your specific URL from where exactly you want to hide your author box. I need this so I will be able to take a closer look and provide a more accurate response.

Thanks for the message!

Sebastian Escobar
Participant
#0

I have reviewed all the .po files in es-ES looking for the translation of the word “Mensajes” (screenshot shipping) but I can not find it.
This is in author’s box block
The word should be “Publicaciones”.
I hope you can help me.
Here is:
http://chilecientifico.com/chilecientifico/traduccion.jpg

Thanks,

Sebastian Escobar
tagDiv Member

No, this don’t work.
I also tried with the last author box, because I hide the admin author’s box with:

.author-box-wrap.AdminName{
display:none;
}

and now with


@media
(max-width:767px){
.author-box-wrap.AdminName{
display:none!important;
}
}

It does not work either.
I still see the admin author box in mobile.

Catalin
tagDiv Staff

Hello Sebastian Escobar,

You should use a bit of CSS code to do that. Try the code below and place it in Theme panel->Custom CSS Area.

@media (max-width:767px){
.author-box-wrap{
display:none!important;
}
}

Thanks.

Sebastian Escobar
Participant
#0

Hi, related whit this topic: https://forum.tagdiv.com/topic/hide-authors-box-of-a-certain-author/
ÂżHow can I hide the same author’s box in mobile? I’m using mobile theme.

Simion C.
tagDiv Staff

Hi,

Please make sure you enter the code mentioned properly in the theme files, and use exactly the same syntax
https://www.screencast.com/t/U6VVZtzDLT
I have tested this method and it is working properly, the author ID is appearing as a class next to the author box wrap, in the code – https://www.screencast.com/t/4zOmkOuchnF
In your case the author name does not appear – https://www.screencast.com/t/DKwEOjaM
After you modify the code as indicated, you can use the css solution and hide the author box for that particular author.

Thanks

Bogdan B.
tagDiv Staff

Please provide a link to your site pointing at a post where you do not want the author box to show up so we can inspect it.
Thank you!

Sebastian Escobar
tagDiv Member

Excuse me, I mistake the forum and answer in the other, that is resolved.
Here are:

I complete line 853 of td_module_single_base.php with:
$buffy .= ‘<div class=”author-box-wrap ‘ . get_the_author_meta(‘display_name’, $author_id) . ‘ “>’;
And add in custom css:
.author-box-wrap.Maricel7{
display:none;
}
(with my administrator name)
But still I have the admin box in the post, that I don’t want.
There are some error?
Thanks!

Sebastian Escobar
tagDiv Member

Hi
I complete line 853 of td_module_single_base.php with:
$buffy .= '<div class="author-box-wrap ' . get_the_author_meta('display_name', $author_id) . ' ">';
And add in custom css:
.author-box-wrap.Maricel7{
display:none;
}
(with my administrator name)
But still I have the admin box in the post, that I don’t want.
There are some error?
Thanks!

Bogdan B.
tagDiv Staff

Hello,


@nanumcorp
replied in the other topic. It’s best practice to post your own topic though.


@Sebastian
Escobar This topic should help you hide certain authors: https://forum.tagdiv.com/topic/hide-authors-box-of-a-certain-author/

Thank you!

emreerkan
tagDiv Member

I’ll try to give more details. 🙂 English is not my native language so bear with me here.

I’m a theme/plugin developer myself. I do lots of WordPress jobs for my customers. I understand child theme concept very well. No problems there, I assure you.

What I’m suggesting is, “you”, as tagDiv, could you please add filters to your internal functions? I’ll try to explain with an example.

There are 14 different (13 + default) single post styles in Newspaper theme. All of them have this line for author box;

<?php echo $td_mod_single->get_author_box();?>

This is great, so if I want to change author box, I can copy td_module_single_base.php from /includes/wp_booster/ to my child theme with the same folder structure and do necessary modifications. And voila, all of the author boxes are updated. But (there is a huge but here) now I have to inspect every changelog that if td_module_single_base.php file changed or not during version bumps. And I had to copy a whole file despite I want to change only one function.

Here comes my solution; Filters

If tagDiv could apply filters just before returning that cuddly $buffy, developers can add a hook to that filter and without copying whole td_module_single_base.php file, they can change the output of get_author_box() function.

I hope this time I explained my self much better. 🙂 Thanks for your responses.

soundstrat
tagDiv Member

Did you have any luck getting the author boxes to display for each co-author?

soundstrat
tagDiv Member

I agree with Julius. It seems to me that the theme should at least be compatible with the Co-Authors plugin. If you just added the if else statement and then point the else to the custom tagdiv get_author code in each template out of the box it should be reverse compatible and still work for those not using the plugin. Just a suggestion since this question seems to come up a lot – at least 2-3 times a month.

Simion C.
tagDiv Staff

Hi,

The post pagination appears right after the post content, or after the article bottom post if one is used
https://www.screencast.com/t/TZ7tJA4LKVQ
If you would like to move the author box inside the post structure you will have to modify the theme files. You must edit the file corresponding to the post template style that you are using for the post
https://www.screencast.com/t/VTCkYDtvqq
For example if you are using Post template style 2, the file is loop-single-2.php
You must open this file from the theme folder, using a text editor and there you will see the post structure
https://www.screencast.com/t/VyAjntoNByL2
There you have to move the line of code containing the author box like this
https://www.screencast.com/t/eSMYglKn if you want it to display after the post pagination
https://www.screencast.com/t/eSMYglKn
The comment section is always displayed at the bottom of the page after the related articles if this feature is enabled.

Thanks

Simion C.
tagDiv Staff

Hi,

If changes need to be made from the theme perspective to accommodate the new features, they will be made available as soon as possible. It seems the Woocommerce plugin received yet another update containing multiple fixes
https://woocommerce.wordpress.com/2017/04/06/woocommerce-3-0-1-fix-release-notes/
In the meantime you could try the advice from the plugin author and declare support with the code they provided for the lightbox in the topic provided, just enter it in the functions.php file located in the theme folder and see if it works for you.

Thanks

Simion C.
tagDiv Staff

Hi,

You can find the author box for the single post page in this file – https://www.screencast.com/t/taUGJhD3M But you could also add a custom field in the post structure, depending on the post template style that you are using and editing the theme files responsible – https://www.screencast.com/t/lLgdrq0Y
More information about custom fields here – https://codex.wordpress.org/Custom_Fields
Or just search for a plugin that can insert the text you want inside the post page, if you do not want to edit the theme files, because there must be some with this capability out there.

Thanks

Bogdan B.
tagDiv Staff

Hello,

This topic is from 2014. The code is no longer present. If you want to modify the author box now you will have to edit the function here: https://www.screencast.com/t/TuSz5WyuO

Thank you!

Manoel
Participant
#0

Hey there, I’m currently trying to implement a box that is seperated from the main content with the personal opinion of the articles author. This is very helpful if you want articles to be objective and keep the personal opinion of the author seperated. I thought this would be great to show up in the authors-box since everything is already there, like the name picture and description of the author. If you know how it would be very simple I guess since you would only need a custom post field.
Trying to do this on my own failed though because I can’t find the location of the authors-box on single-posts.

Manoel
tagDiv Member

Hey there, just wanted to modify the authors box too but on the current version of the theme the file you mention here seems to be gone. Where is it located now?

Simion C.
tagDiv Staff

Hi,

The Woocommerce plugin released a major update a few days back. Please note that the theme is not influencing the plugin settings in any way, it all depends on the plugin authors. Here is a changelog for the latest Woocommerce update – https://woocommerce.com/2017/04/woocommerce-3-0-release/
For the light-box issue, It seems this a common problem after the update, maybe the feature was removed or replaced. You can find more information by following this topic – https://wordpress.org/support/topic/lightbox-not-working-after-upgrade-to-3-0/ and also a possible fix suggested by the plugin author.

Thanks

sasquatters
Participant
#0

Hello,

I believe I have finally designed a layout I like. There are a few small things that I cannot figure out how to remove…

How can I remove the comments icon from each post on the main page?
Comments Icon

How can I remove the author from each post?
Author Box

I added “Popular Posts” to the side bar but had to do 3 separate widgets so that I could have them display large images rather than 1 large and the rest smaller as the widget does. Is there a way to remove the preview text from them and only display title and date?
Popular Posts

How can I have this style of section rather than just a line with plain text.
Block Section Text

I cannot get the popular posts to show in the footer exactly like you have in the default theme settings. When I use the popular post widget (like on the side bar) it wants to show 1 large image and the preceding images smaller.
http://sasquatters.com/

Thank you. 🙂

Catalin
tagDiv Staff

Hello bobbymc,

If you want to remove the image from author box, you should use a bit of CSS code to hide it. Try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.author-box-wrap .desc{
margin-left:0!important;
}
.author-box-wrap img {
display:none!important;
}

The result is here -> https://www.screencast.com/t/4Yaf8heJeZtg

Thanks for your understanding!

Viewing 25 results - 1,326 through 1,350 (of 2,340 total)