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

Sorry if this is mundane, but … Have you ticked off the box “Video” (see image) under format when you post your post?

If you forget that box you only get an image where the video is supposed to be.

EU-uutiset
tagDiv Member

Hi Simion,

That worked like a charm. Thanks!

Best regards,
Trond

EU-uutiset
tagDiv Member

Hi,

Thanks for the extensive explanation and the CSS code. Colour of the text is now changed and site is very happy.

Best regards,
Trond

  • This reply was modified 9 years by EU-uutiset. Reason: typo
EU-uutiset
tagDiv Member

Those two posts have different categories. I suspect that one or both categories have the sidebar disabled. Have you checked the category settings in theme panel – categories – SEO and WEB and checked if one or both of those categories have their “CUSTOM SIDEBAR + POSITION” disabled?

EU-uutiset
tagDiv Member

Hi,

Thanks for fast answer.

I have a hard time understanding that the related articles header colour is grabbed from the accent colour when the related articles’ header background colour corresponds to the headers background colour (#003399) and changes accordingly. (It would even be illogical to have it grab it’s colour from accent since people probably would like that to correspond to the site’s colours hence links and hover colour could blend into the background in f. ex. menus.)

The issue is that the headers text colour doesn’t change, but remains white regardless of what I set the headers text colour to and as you see from my image: accent colour is set to blue (#002aff), and text is still white.

Anyway: I would like the font colour in the “Related articles” box to be set to #ffcc00.

EU-uutiset
tagDiv Member

You can set up a row with 4 columns and use blocks with 1 post per column: http://eu-uutiset.fi/wp-content/uploads/2017/05/4-blocks-aside.jpg

This will give you this result: http://eu-uutiset.fi/wp-content/uploads/2017/05/4-blocks-aside-result.jpg

EU-uutiset
tagDiv Member

That is not my issue.

I’m referring to this post answered by Andrei: https://forum.tagdiv.com/topic/categories-6/

where child posts are visible in the archives. When you click in on a sub heading on site: http://eu-uutiset.fi/wp-content/uploads/2017/03/categor_parent.jpg

then it would be nice that the child posts of that sub heading isn’t visible, like it is now:
http://eu-uutiset.fi/wp-content/uploads/2017/03/categor_parent_fail.jpg

According to Andrei the following code should have worked:
function exclude_categories() {
$excluded = array( ‘2184’ );
if (is_category(1169)){
set_query_var( ‘category__not_in’, $excluded );
}
}
add_filter( ‘pre_get_posts’, ‘exclude_categories’ );

and it works partly. This is from parent:
http://eu-uutiset.fi/wp-content/uploads/2017/03/categor_parent_fail.jpg

it shows that the child posts are visible, but sowehow they have been placed further down on than without that code.

EU-uutiset
tagDiv Member

And by the way. The attached code doesn’t work properly. It leaves child posts in parent.

EU-uutiset
tagDiv Member

WP Super Cache has been purged. Browser cache and cookies has been emptied. CDN “files” I have NO idea what is and google didn’t offer any enlightenment on the issue.

Here is a link to a post that has the “problem”: http://24uutiset.fi/2016/09/13/kayta-antibiootteja-varovaisesti-ja-oikein/

The header is still blue and it should be black.

I don’t think the issue has been resolved in the update?

EU-uutiset
tagDiv Member

Download it manually and there it is. Only way.

EU-uutiset
tagDiv Member

Uptated, but still not able to change either header or text color.

EU-uutiset
tagDiv Member

If you specify multiple categories one is primary, hence the others are secondary!

My question still remains: why doesn’t the post with a designated primary category specified show in the primary first, but in one of the other categories specified?

As it seems now it is like that if other (secondary) category comes first on page the post will show there even though it has another category specified as primary and should be shown there.

I don’t understand WHY you have primary categories when you cannot sort posts that belong to multiple categories, and should only be visible in one specific of them on front page.

Viewing 12 posts - 1 through 12 (of 12 total)