Problem with image placeholder and mobile theme

Posted in: Newspaper
Post count: 73

A category (including its sub-categories) do not have featured image as it is mere compilation of various circular and notification issued by Government authorities. So I have made following arrangement for showing it without image placeholder:

1. Selected post style 5 for single view
2. For search results and archive, I made following change in css:
.category-news .author-box-wrap{
display:none!important;
}
.category-news .item-details{
margin-left:0px!important;
}
.category-news .td-post-author-name {
display: none;
}
.td_module_16{
padding-bottom: 10px;
}
.td_module_16 .item-details{
min-height: 0px!important;
}
.search .item-details{
margin-left:10px!important;
}
.search .td-module-thumb{
display:none;!important;
}
.td-excerpt{text-align:justify!important;}

Now my problems are:

1. The Category page of sub categories are not considering aforesaid css rules (for removing image placeholder place, shifting content to left, etc). Does I need to provide same css rule for each sub-category, if yes then how. Or there is any other way to achieve it.

2. Similarly, tags are also not following aforesaid css rules. It is to be noted that tag terms may be common for this category and other category which have featured image.

3. How to remove comment count symbol for this category and its sub-categories

4. In search box in the navigation bar, image placeholder is removed but I am unable to reduce height of each search result. See https://www.dropbox.com/s/nx9xvqlvdwc4v26/category%20result.png?dl=0

5. The category below the result shows one category only instead of showing all categories selected for that post.

6. Is it possible to restrict search result from post and page and not from custom post type. E.g. I have custom post type called FAQ, in that I have created various FAQ (one FAQ is one post for it) on different subjects (considered that as database). That FAQ is shown on front end through shortcode in regular post according to subject of post. I want to search result should not show custom post type of FAQ but show regular post in which it is shown through shortcode.

7. The date shown in the meta data, is it published date or last modified date.

8. Is it possible to add news ticker in the mobile theme.

9. Further, category page repeats that category meta data for each post, I am unable to understand the role of such repeat display of category terms. See https://www.dropbox.com/s/6zwq6hhu2p9r00w/category%20repeat.png?dl=0

Post count: 22421

Hello,
1)
Well this code:
.category-news .author-box-wrap{
display:none!important;
}
.category-news .item-details{
margin-left:0px!important; }

only affects the news category. Other categories or subcategories will not have this class: .category-news
If you want to affect all the subcategories as well, you need to add all the category classes to the css code like so:
.category-news .author-box-wrap, .category-news2 .author-box-wrap, .category-video .author-box-wrap, .category-test .author-box-wrap{
display:none!important
}

2)Unfortunately css does not work like this. If you remove an item from one category it will not affect the subcategory or tag. The tags have their own css classwes so the code needs to be added for classes as well. You will need php modifications and conditions added to the code rather than lots of css rules but I cannot provide them as customization services are not covered by the support.

3) .category-news .td-post-comments{
display:none!important;
}
I do not know the name of your subcategories. You will have to add them to the code.

4) , 5), 6) I suggest you hire a freelancer to help out as you seem to require quite a bit of custom modifications and custom work is beyond what the theme support can provide you. We are here to help with any theme related issues or settings but we do not have a customization department and we cannot provide custom work at the moment.

7) The data shown in the meta is the published date.

8) no, the mobile theme will not use visual composer at all. The news ticker is only available through visual composer.

9)The category tag will show up on every category page indeed. I will addd this to our list for future upates and make a suggestion to remove the category tag from the current category .

Thank you!

Post count: 73

If a post belongs to multiple category, on the all loop (excluding single post page) only one category is appeared. Is that category is primary or random.
Further, is it possible to show all categories on loop pages.

Post count: 22421

The category shown is this one: https://forum.tagdiv.com/primary-category/
No it is not possible to show all category tags on the loop pages or any other pages because our theme category tag was built to show only the primary category, not all the categories a post belongs to.
Thank you!

Post count: 73

Is it possible to show last updated date instead of creation date

Post count: 22421
Post count: 73

1. Is it possible to hide top and footer AD on certain page / post like 404 page,loop page, etc.

2. Is there any restriction on smart list item like only 9 slides will work or any number will work. Further, Is an image is mandatory for each list item else it will not work. I am not asking about featured image of the post.

Post count: 22421

Hello,

1. Sorry but our theme does not have any such options. You should try a plugin such as adrotate for such features as our ad system only works across the whole site at once.

2. There is no slide number restriction. You can use as many slides as you want.

Thank you!

Post count: 73

Regarding 1, I am not doing adrotation. I am just concerned about google adsense guidelines. If it is not violation of that, I dont have any issue. Please advise.

Regarding 2, thanks for sharing information

Post count: 22421

I understand that, but our theme has no option ot hide ads from particular pages. There is no functionality added to the ad system that can allow that. It can be done by altering the theme files and adding conditions to the code but when adding more pages to the code you will always have to go in and edit the code again. That is why I suggested adrotate or another ad plugin you prefer so you can getan option to remove certain ads without altering the theme code.
If you are comfortable with editing code, then here is an example of how to remove an ad for a specific page:
For the header ad you will have to edit this file: https://www.screencast.com/t/MUURFMNomsy and wrap the code around a condition like so:
https://codex.wordpress.org/Function_Reference/is_404
https://www.screencast.com/t/21r56Y0PDaV
This will remove the header ad on all 404 pages. WordPress provide more functions like is_page where you can use the page id to remove the ad on specific pages.
Use the same method on the footer ad but for this one you will have to edit the footer template for the footer style that you use: https://www.screencast.com/t/usuTGXu6Y

Thank you!

Post count: 73

Thanks for reply. I did it.

Further, I am using block 7 on sidebar for displaying latest post on post pages but the issue is that it also show post that is already open. e.g. If I am viewing post 1, then block 7 in sidebar should not show post 1 and If I am viewing post 2, then block 7 in sidebar should not show post 2 and so on.

Post count: 22421

Hello,

If the blocks have the same filtering then the same posts will be shown in blocks. Please either use the unique articles option: https://forum.tagdiv.com/unique-articles/ or use offsets: https://forum.tagdiv.com/block-settings-guide/

Thank you!
Bogdan B

Post count: 73

Is it possible to select unique article for article list appears on sidebar

Post count: 22421

Hello,

Unique articles is an option that will only affect the page it is activated on. https://forum.tagdiv.com/unique-articles/

Thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.