Search Results for 'block'

Results from the Forum
Catalin
tagDiv Staff

Hi,

Please notice that’s the default functionality of the theme when you are using a big grid. This is the responsive version of this element, sorry! You can try using a bit of CSS code if you like to display in this way -> https://www.screencast.com/t/87UD6gLH1

@media (max-width: 767px){
.td_block_big_grid_2 .td-big-grid-post {
height: auto;
}}

Thanks.

breed3011
Participant
#0

Hi all,

We are currently using block 1 (module 4 and module 6) on our homepage but would like to display an excerpt where module 6 are placed.

I don’t believe it’s possible and am therefore trying to get module 4 and 10 (or 11 not sure yet) into a new block – unless there is one that already does this – and I was wondering what the best way forward would be?

Thank you for your help.

Kind Regards

Simion C.
tagDiv Staff

Hi,

The latest articles has options for what you mention – https://forum.tagdiv.com/page-templates-2/
But there is currently an issue, the settings for it do not appear as they should when the template is selected
https://forum.tagdiv.com/topic/cant-edit-some-sections-with-tagdiv-composer/
This issue will be solved in the next theme update, sorry for this inconvenience.

You could also use a post loop element in the page, the loop is similar to the latest articles section. Some loop examples you can preview and even edit here
https://affiliate.tagdiv.com/#/load/Blocks
These can be imported with the cloud library plugin
https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
If you use a loop you can select the default page template instead of the latest articles template.

Thanks

onbced
Participant
#0

Hi,

in my News category, diplayed in a Block 11, I need to keep an old post always on the top in the list. How to do?

Thanks

cosmin0608
tagDiv Member

Am rezolvat problema prin mutarea codului urmator inainte </div> <!– /content –>

<?php
if (have_comments()) {

// on Newspaper the css class ‘td-pb-padding-side’ is not applied
$td_css_cls_pb_padding_side = ”;
$td_css_cls_block_title = ”;
$global_block_template_id = td_options::get(‘tds_global_block_template’, ‘td_block_template_1’);

if (‘Newsmag’ == TD_THEME_NAME) {
$td_css_cls_pb_padding_side = ‘td-pb-padding-side ‘;
} else if (‘Newspaper’ == TD_THEME_NAME) {
$td_css_cls_block_title = ‘td-block-title’;

if ($global_block_template_id === ‘td_block_template_1’) {
$td_css_cls_block_title = ‘block-title’;
}
}

$num_comments = get_comments_number(); // get_comments_number returns only a numeric value
if ($num_comments > 1) {
$td_comments_no_text = $num_comments . ‘ ‘ . __td(‘COMMENTS’, TD_THEME_NAME);
} else {
$td_comments_no_text = __td(‘1 COMMENT’, TD_THEME_NAME);
}
?>

<div class=”td-comments-title-wrap <?php echo $td_css_cls_pb_padding_side . $global_block_template_id?>”>
<h4 class=”td-comments-title <?php echo $td_css_cls_block_title?>”><span><?php echo $td_comments_no_text?></span></h4>
</div>

    “>
    <?php wp_list_comments(array(‘callback’ => ‘td_comment’)); ?>

<div class=”comment-pagination”>
<?php previous_comments_link(); ?>
<?php next_comments_link(); ?>
</div>

<?php }?>

Simion C.
tagDiv Staff

Hi,

Maybe check in the WordPress comments section, to see who is the author of those comments. Or investigate the plugins you have installed, maybe one of them is automatically posting comments for some reason. If none of your users is posting comments, then something else is, could be a plugin.
I see a comment on this post as well – https://blockchaintrailblazers.com/how-to-get-rich-and-famous-in-blockchain-technology/
You could also activate the comment moderation option, to manually approve the comments
https://www.screencast.com/t/HBfWOdb8IR

Thanks

Calin
tagDiv Staff

Hi,

On post loop you can hide only the post -> https://www.screencast.com/t/1QN7MQ9sd
you can exclude the posts from that category, or you can replace the post loop and set a block were you can exclude the category.

Thank you for your understanding.

achmadsya
Participant
#0

Hello,

Could you help with the following issue.
1. Any way to display two column icon in mobile view?
2. Any way to use custom icon?
3. When using image with title element, is there any way to set up the block/image and title height to specific pixel size?

Thanks

Ernesto Justiniano
tagDiv Member

Using now genesis, trying to change to newspaper but increases the load average to values in top higher than 100
With genesis under 3.
I have disable search and ajax search but still having the same problem.
Looking at newrelic we do have values web transactions average under 150 ms. After installing newspaper values go higher, 300 ms.
150K pageviews/day.
The higher values comes from wp_ajax_nopriv_td_ajax_block but we have let a very simple homepage.

finester11
Participant
#0

Is there a way to manually sort posts in a block? For example, on my homepage, I’d like to manually choose the three posts that appear in the first block *and* their order, so they also appear exactly where I want in the block…first post more important, so it appears in the left 50% of the block, etc.

(And I would want to change it often, to highlight exactly the posts I want, in the order I want.)

Is there some way to accomplish this? I was hoping maybe there’s a “weight”-type parameter for posts that I could rank by, or create a custom field called “post weight” or “post rank.” Then, I could set all posts to value “4”, but set it to “1” “2” and “3” for the posts I want to feature, in order at any given time. Or something like that.

Sorting by popularity, recent, etc., doesn’t help…and I gather that sorting by “featured” will sort the featured posts secondly by length or random or something.

(http://www.hownottosail.com)

Mudinyeri
Participant
#0

I searched and couldn’t find a forum topic or anything in the learning docs that dealt with this ….

I would like to edit the menu that is at the top of Block 1. I found the Block Header Template in Block Settings but it does not allow me to edit the menu items that are displayed. A template without any menu items or the All dropdown would be ideal. Absent that, a template that displays the Main Menu, as configured, would be acceptable.

veteranstoday
tagDiv Member

Hi thr,
thanks for the response, we have everything upto date,
1) php version is 7.2
2) we were using WPBakery only
3) we have default blog mode added in our homepage and we just used few block, still it consumes too much memory
4) we default page counter
5) Simple mega menu
6) I don’t know how to do that XLMRPC

finester11
tagDiv Member

(Actually, I could just use page builder, but I want the pagination style that’s built into “Latest Articles” instead of the very basic styles that come with the tagDiv composer blocks.)

Derek Little
Participant
#0

Hi,
I just noticed I that comments are accumulating on my site, but no one has made any actual comments. They have been generated automatically from me adding posts, or links – or something. Here’s an example:
https://blockchaintrailblazers.com/5-amazingly-simple-ways-to-improve-blockchain-usability/#comment-76

Do you have any idea what’s going on?

And is there a way to turn comments on or off for pages, post or categories – in the Theme Panel?

Thanks.

finester11
Participant
#0

Hi! Is there a way to change the number and block style of latest articles on the Home page when using “pagebuilder + latest articles + paginator template setting? I’d like to limit it to 5 articles and change the block type to a style with one per row instead of two. Thanks!

http://www.staging2.hownottosail.com

Calin
tagDiv Staff

Hi,

Please replace the above css with this one:
@media (max-width: 767px){
.td-header-top-menu-full, .td-header-sp-top-menu {
display: block!Important;
}
}

Se results: https://www.screencast.com/t/ULs1sH71CHQ7

Thank you.

Calin
tagDiv Staff

Hi,

You can try the settings from theme colors, the settings from demo are mostly custom made, but you can obtain that with some work.
Theme colors introduction -> https://forum.tagdiv.com/theme-colors-introduction/
Also check the blocks color -> https://forum.tagdiv.com/block-settings-tutorial/
Or you can use custom css -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thank you.

Calin
tagDiv Staff

Hi,

In order to change the size of category on modules you need to go in Newspaper>Theme panel>Theme fonts>Modules and Blocks General
-> https://www.screencast.com/t/jF7KXjT7s7
-> https://www.screencast.com/t/YdxfmU8Yj3x5
In order to change the category size on post please go in Newspaper>Theme panel>Theme fonts>Post Elements
-> https://www.screencast.com/t/nJNg8eRmS2i
-> https://www.screencast.com/t/au660xan1wL

Thank you.

Calin
tagDiv Staff

Hi,

The settings seems to be well set.
Please make a test, make a new page an set other block and set those id again, see if that category is still showing.

Thank you.

akshem
Participant
#0

We are using Post Loop block but the pagination is incorrect.
It creates 138th page when there are no posts to show.

https://prnt.sc/m7g2kd

URL: https://www.techuntold.com/page/138/ (WON’T SHOW content in Post Loop block)

But it’s there if you see in the pagination.

Richard
Participant
#0

Hi

On my site at WomensGolf.com the post subtitles are italic – I would like them to be normal.

The subtitle settings in the theme panel are all default – https://www.dropbox.com/s/1495xw9uam6edsy/subtitle%20post%20style%20theme%20panel.JPG?dl=0

and My Custom CSS in the Theme panel doesn’t have a subtitle reference:

.td-social-boxed .td_social_type span { line-height: 21px; }
.my_block .td-excerpt{
color:black;
}
.entry-crumbs, .entry-crumbs a{
color:black;
}
*/#td-outer-wrap{
position:relative!important;;
*/top:50px!important;
}?/*
.wp-caption-text, .wp-caption-dd {
text-align: center;
font-style: normal;
}
.td-header-top-menu-full {
margin-bottom: 40px!important;
}
.td-header-gradient:before { display:none; }
.td-header-style-1 .td-header-sp-recs, .td-header-style-1 .td-header-sp-logo {
margin-bottom: 25px!important;
}
.td-header-sp-logo img{
margin:0
}

I’m using the default post template (not a cloud template).

Thank you
Richard

All Golfs
tagDiv Member

Hello,

Sorry, but I found where is the issue.
I add a function that was supposed to display my custom posts types everywhere on the website, but it is blocking the menu.
I put the function just after.

add_filter(‘pre_get_posts’, ‘query_post_type’);
function query_post_type($query) {
if( is_category() || is_tag() ) {
$post_type = get_query_var(‘post_type’);
if($post_type)
$post_type = $post_type;
else
$post_type = array(‘nav_menu_item’, ‘articles’, ‘post’, ‘golfs’, ‘categories’); // don’t forget nav_menu_item to allow menus to work!
$query->set(‘post_type’,$post_type);
return $query;
}
}

So when the function is on, the menu not display in categories, but when the code is of the categories not display (but menu ok).

I try to change :
$post_type; to $post_type = array(‘nav_menu_item’, ‘articles’, ‘post’, ‘golfs’, ‘categories’);
And it seems to work fine for now.

Do you think I have to add more things than ‘articles’, ‘post’, etc. ?

Thanks

Vegasrenie
Participant
#0

I noticed that the blocks on the default demo are all different colors. I would love to do that on my site, but can’t seem to find the directions. My question is how is it done, and do you have to assign a single color to each individual block? I’m using mainly block 4 from the Voice Report demo, but would gladly change if I can get the colors to work and still keep the rounded corners on the images.

I’m also looking at the colors on the News Magazine demo, and how the links and color match. Love it!

https://www.VegasWineaux.com

Calin
tagDiv Staff

Hi,

If you want to have this custom only on desktop please set the css in Newspaper>Theme panel>Custom code>Advance css section Desktop
https://www.screencast.com/t/a7rbpkY68

body .td-scroll-up {
background-color: blue;
border: 2px solid green;
width: 50px;
height :50px;
right: 350px;
}
body .td-scroll-up .td-icon-menu-up {
color: #fff;
font-size: 20px;
display: block;
text-align: center;
width: 40px;
top: 10px;
left: 4px;
}

Thanks.

Calin
tagDiv Staff

Hi,

Please provide some screenshots with the settings you made in the block filter to exclude that category.

Thank you.

Viewing 25 results - 17,251 through 17,275 (of 39,816 total)