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

Hi Catalin,
thanks for your answer.
I am not seeing the format option organised as it should be:

How can I solve this?

truth
tagDiv Member

Thanks Catalin.

I was wondering if you ever thought your blockquote is too much big, it’s more like a style for a sentence with an “effect”, a powerful message, an important one.
What about implementing blockquote as it should be? Have a look here.

I know I can reduce the blockquote size down to the default font size of the theme but it will be more interesting if there are both the option:

  • blockquote as it should be
  • another tag in the WP editor to use the actual blockquote

Hope I was clear enough.

truth
tagDiv Member

Thanks for your reply. I really appreciated it 🙂

Since then I need to patch this by myself. Which file I need to edit? The one Simion mentioned before?

Am I right?

  • This reply was modified 9 years by truth.
truth
tagDiv Member

Don’t you think the choice you made needs to be corrected? Do you really think is logical to show Post settings only to the users who can post? Contributors can write articles too!

I really hope you fix this “bug” in the next update release of this theme.

Since then I need to patch this by myself. Which file I need to edit? The one Simion mentioned before?

truth
tagDiv Member

Hello Bodgan,
as I wrote before, the way this part of the theme has been implemented is not ok because Post settings should be available to all those user who can write an article/post not just to only those who have the capability to publish an article. Please try meditating on this point.

Basically you want to change the default user roles and capabilities of wordpres but the theme cannot do this

No, I don’t want to do this. I want my contributors to use Post settings. I can not do this because the theme displays those settings only to those users (according to WordPress official user roles) who have the capability to publish i.e. administrators, editors and authors (I’ve tested this by myself by using the User Role Editor plugin).

I hope this time I was clear enough, let me know otherwise.

Thanks in advance.

truth
tagDiv Member

Dear Simion,
could you please delegate someone else to this thread? It seems there is a communication gap between us.

Thanks

truth
tagDiv Member

Hi,

What I meant is that any user role that can publish posts – https://www.screencast.com/t/9iqExzZhHu should have access to the post settings in the dashboard.

I say every user that can write posts must have access to the post settings in the dashboard. Don’t you think?

WordPress is meant also for multi-author blogs/websites and as you can imagine not all authors can have the capability to publish: each author has different capabilities.

NOTE: when I say author I mean a user who can create content on a website. It has nothing to do with the definition of author given here: https://en.support.wordpress.com/user-roles/. So a user can be a “author” also without the capability to publish A.K.A. Contributor

Hope you understand 🙂

truth
tagDiv Member

Hello,
could you please explain me how can I use the resources you linked in order to solve the issue?
Your theme is displaying Post settings only if the user has the capability to publish. So, a contributor is not able to use those settings. Please investigate better and let me know 🙂

truth
tagDiv Member

Solved! Thanks 🙂

truth
tagDiv Member

Hi Catalin,
It seems I was unable to explain the issue correctly. I will retry: there are different sizes for the two types of logos in the Official documentation and the Newspaper theme panel (Theme panel -> Header -> Logo for Mobile).
On one hand you are telling to use 32 x 42px for the mobile logo and 264 x 84px for the retina logo (Official documentation) but on the other hand the theme panel is suggesting to use different dimensions:

      LOGO MOBILE – Note: For best results logo mobile size: 140 x 48px
      RETINA LOGO MOBILE – Note: For best results logo mobile size: 280 x 96px

Hope I was clear enough this time 🙂

truth
tagDiv Member

Sorry for the bad layout. Unfortunately I’m unable to edit it.

truth
tagDiv Member

Hello again,
so after customizing other parts of the theme I’ve noticed the title of all the posts were hidden. Inspecting, I’ve found the (wrong) rule causing the problem is the one I mentioned before:
.td-post-template-default .td-post-title{
display:none;}

After the inspection I checked the Custom CSS section of the Theme panel but the only (correct) rule there was the one you suggested me:
.single .td-post-views{
display:none!important;
}

Since the child-theme CSS is without any CSS rule, I don’t understand where this rule could be. Any idea?

As a temporary solution I’ve inserted the following rule in the Custom CSS section:
.td-post-template-default .td-post-title{
display:inherit!important;
}

Sorry for bothering you again.

truth
tagDiv Member

Hi Bogdan,
thanks for the reply.
The rules you provided are not working, or at least are not hiding what I wanted to: remove all the upper black bar/wrapper. I’ve tried this one and everything seems to be working:
.td-mobile-footer-wrap {
display:none;
}

truth
tagDiv Member

Hello Bogdan,
custom CSS code has to be inserted via child theme as described in official WordPress guide:

If your child theme style.css contains actual CSS code (as it normally does), you will need to enqueue it as well. Setting ‘parent-style’ as a dependency will ensure that the child theme stylesheet loads after it.

Please tell me how I need to modify the following script in order to personalise the theme CSS using child theme:

<?php
function my_theme_enqueue_styles() {

$parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.

wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')
);
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
?>

truth
tagDiv Member

Hello Catalin,
thanks for the reply. In the previous message I wrote I want to increase the height. I never mentioned the width.
Could you please tell me which file/s I need to edit in order to modify the default height of the thumbnail 2 columns slider?

truth
tagDiv Member

Hello,
it’s always better to avoid plugins when you can achieve the same result with few lines of code 😉 Plus, the official AdSense plugin has a bad reputation (2.8 stars out of 5).

truth
tagDiv Member

Thanks! Problem solved.
Please mark this topic as solved 🙂

truth
tagDiv Member

Hello again,
I want to increase the default hight of the slider. What file I need to edit?

truth
tagDiv Member

Hello,
I was about to ask the same thing but first I wanted to know if I was the only one.
I hope you implement this feature in the next updates because there are many requests for infinite scrolling on posts (including me).

Ciao!

truth
tagDiv Member

Hello again,
I know I can achieve that with the following script but I want the ads to auto-align around the text as in desktop mode especially for when the mobile is in landscape mode.

add_filter( 'the_content', 'prefix_insert_post_ads' );

function prefix_insert_post_ads( $content ) {
$ad_code = '#adcode#';
if ( is_single() ) {
return prefix_insert_after_paragraph( $ad_code, 5, $content );//ad will be inserted after 5th paragraph
}
return $content;
}

truth
tagDiv Member

Hi,
thanks for the reply. I was looking into the wrong section: Post settings.

truth
tagDiv Member

I’ve found the answer to my question: https://forum.tagdiv.com/topic/theme-rename/ Lol
Since it is a headache (I have to repeat the renaming procedure on every update) I’ve decided to stay with the default name.

You can delete this thread

truth
tagDiv Member

The issue is related to the fact that I’ve renamed the default theme folder (Newspaper) in something else (suppose “myTheme”). How should I modify the theme_enqueue_styles function in order to make everything work?

Viewing 23 posts - 26 through 48 (of 48 total)