Search Results for 'flex'

Results from the Forum
NickDeBaerdemaeker
Participant
#0

Hi.

For our website we have installed the publishpress multiple author plugin.
For all the single posts, we use the template loop-single-5.php, where we have altered the author bit from this

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

to this

<div id="publishpress-author">Door <?php do_action('pp_multiple_authors_show_author_box', false, 'inline');?>/div>

However, in the overview page, located here: Camera eye overview created with the cloud library, we have something strange going on.

Our editor, ‘Jan van Den Bulck’, has created a post (right at the bottom of the page if you scroll through, above the “laad meer” button) and designated the author to ‘Nathan Dobbelaere’. This specific overview page uses the flex block module 1.

Then something odd happens, while the author on the post itself is correctly attributed to Nathan Dobbelaere, as can be seen here: post of the kooks, the overview page shows Jan Van Den Bulck.

To further deepen the mystery, this doesn’t seem to happen to all authors and randomly on top of that.

Suggestions on how to fix this ?

I have already altered the td_module_flex_1.php to show additional details next to the title, such as concertlocation and concert date.

Originally in the theme is this:

   <span class="td-author-date">
      <?php if( $author_photo != '' ) { echo $this->get_author_photo(); } ?>
      <?php echo $this->get_author();?>
      <?php echo $this->get_date();?>
      <?php echo $this->get_comments();?>
   </span>

Currently I have this:


   <div class="post-title">
      <?php get_the_title( $id );?>
      <?php echo $this->get_title($title_length);?>
      <h3 class="entry-title td-module-title">
      <?php $datum = get_field( "datum" , $this->post->ID ); $concertlocatie = get_field( "concertlocatie" , $this->post->ID );//etc...?><?php if ( $datum ) : ?><a>post->ID);?>"<span class="cemetadate"><?php echo $datum ; ?></span></a><?php endif; ?>
      <?php if ( $concertlocatie ) : ?><a>post->ID);?>"<span class="cemetacelocation"><?php echo $concertlocatie['0']; ?></span></a><?php endif; ?></h3>  
             
   </div> 


   <span class="td-author-date">
      <?php if( $author_photo != '' ) { echo $this->get_author_photo(); } ?>
      <?php echo $this->get_author();?>
      <?php $datum = get_field( "datum" , $this->post->ID ); $concertlocatie = get_field( "concertlocatie" , $this->post->ID );//etc...?>
      <?php if ( $datum ) : ?><span class="frontce"><?php echo $datum ; ?></span><?php endif; ?>
      <?php echo $this->get_date();?>
      <?php if ( $concertlocatie ) : ?><span class="metacelocation"><?php echo $concertlocatie['0']; ?></span><?php endif; ?>
      <?php echo $this->get_comments();?>
</span>

Could you help me with this please ?

It would seem that there is an issue with the $this->get_author getting to see the correct post id, which I can not replace as simply as I did with the loop mentioned above: <?php do_action(‘pp_multiple_authors_show_author_box’, false, ‘inline’);?>

If possible don’t mention that the publishpress plugin isn’t tested, I already know that.
It seems a bit odd that it works on posts but not on the cloud templates.
I am working with the older version of the theme 9.6 and plugins.
I have refrained from trying the X version since I want to iron out the final mistakes first.

Calin
tagDiv Staff

Hi,

Yes, the files were moved from tagDiv Composer in tagDiv Standard Pack, this is the path for modules -> wp-content/plugins/td-standard-pack/Newspaper/includes/modules now in tagDiv Composer are only the modules for flex -> https://i.imgur.com/nERvCfp.png Also if you are using the child theme, please make sure that you are use the child from Newspaper X and you set the files according to our guide from here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Hope this will help you!
Thank you!

Calin
tagDiv Staff

Hi,

You’ll need to edit the page with tagDiv Composer, click on the blocks/modules and set in filter tab the categories you want to display.
-> https://i.imgur.com/vB2ykx0.png -> https://i.imgur.com/XVgwnqM.png
You can check more about the filter tab in our documentation for Flex Block Settings Guide -> https://i.imgur.com/cRhLYEr.png -> https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

Calin
tagDiv Staff

Hi,

Please make sure that you are using the latest version of Newspaper, v10.3 in this version you should be able to use the right click, also make sure that you do not have any plugin conflicts. The right click on MacBook is working with out problems.
There are some animations on flex blocks and grids, unfortunately there are not so many as in visual composer.

Thank you!

Vlad S
tagDiv Staff

Hello !

This option is only available on Flex Blocks at the moment.

Thank you for your understanding !

divaspathak
tagDiv Member

Sir thank you so much for your response but the team has not addressed my issue. My issue, when I’m checking this big grid flex 2 from a mobile device then it is looking like this: https://ibb.co/0h8VNs2.

How do I get rid of this white space after the first block?

Calin
tagDiv Staff

Hi,

Please make sure that you do not have a plugin conflict with untested plugins, please deactivate all non theme/tested plugins, also if you are using child theme, clear all cache and try again.

So in order to benefit from Newspaper X you’ll need to replace all the elements/blocks/templates with cloud templates, in this way the theme will load only the stile from these templates also all the blocks need to be replace with flex blocks after you change all standard elements with cloud elements you can deactivate the standard pack, after that the theme should load less style and it should become faster.
Newspaper Theme 10: Standard Pack or tagDiv Cloud Templates? -> https://tagdiv.com/newspaper-theme-update-standard-pack-or-tagdiv-cloud-templates/

Thank you!

Calin
tagDiv Staff

Hi,

So for the first problem maybe you can use tagDiv Composer and set some flex block where you can display the post you want, maybe this will help you!

For the second problem, the Guest Author was not tested with our theme, therefore we can not say if this will work or not correctly with our theme, sorry! if you want you can check our documentation for adding multiple authors to your articles -> https://forum.tagdiv.com/adding-multiple-authors-articles/ please notice that this will
work only with standard post templates.

Thank you!

Vlad S
tagDiv Staff

Hello !

On flex blocks the Excerpt can be found in here: https://www.screencast.com/t/dGJm6CFKkr ; and on the other blocks you can set the excerpts from Theme Panel – Excerpts as you can see here: https://www.screencast.com/t/SDueVf7wuUBm

Thank you !

Calin
tagDiv Staff

Hi,

From what I can see your homepage have 18 mb -> https://i.imgur.com/wbuoFJ9.png that is because your thumbs set in your flex have a big size, what you can do to reduce the page size is to change images -> https://i.imgur.com/lbTvfG9.jpg

Thank you!

Calin
tagDiv Staff

Hi,

Unfortunately our theme do not have this option, you can use something similar by using the category posts and assign the post to this category, also on homepage you can use the tagDiv Composer and add some flex block whet you can filter all the categories and show only the one that you want.
Unfortunately we didn’t tested the Zone manager with our theme, therefore we can not say if this will work or not with our theme.

Thank you for your understanding!

beautysecrets
tagDiv Member

And I also want to add excerpt in flex module 3

Calin
tagDiv Staff

Hi,

The featured image set on pages will be display only on blocks, here is an example -> https://i.imgur.com/QMVKs5V.png -> https://i.imgur.com/amSNTi1.png -> Flex Block Settings Guide -> https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

tihanak
Participant
#0

Hi,
my site crashed after lattest update.
This is what I see:

[tdc_zone type=”tdc_content”][vc_row full_width=”stretch_row_1200 td-stretch-content”][vc_column][/vc_column][/vc_row][vc_row row_divider_top=”” row_divider_bottom=”” space_bottom=”22″ full_width=”stretch_row_1200 td-stretch-content”][vc_column][td_block_trending_now header_color=”rgba(221,51,51,0.93)” limit=”8″][td_block_big_grid_flex_9 meta_info_vert=”content-vert-bottom” show_author2=”” show_date2=”none” modules_category=”above” overlay_general=”eyJ0eXBlIjoiZ3JhZGllbnQiLCJjb2xvcjEiOiJyZ2JhKDAsMCwwLDApIiwiY29sb3IyIjoicmdiYSgwLDAsMCwwLjcpIiwibWl4ZWRDb2xvcnMiOlt7ImNvbG9yIjoicmdiYSgwLDAsMCwwKSIsInBlcmNlbnRhZ2UiOjYwfV0sImNzcyI6ImJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KDBkZWcscmdiYSgwLDAsMCwwLjcpLHJnYmEoMCwwLDAsMCkgNjAlLHJnYmEoMCwwLDAsMCkpO2JhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApKTsiLCJjc3NQYXJhbXMiOiIwZGVnLHJnYmEoMCwwLDAsMC43KSxyZ2JhKDAsMCwwLDApIDYwJSxyZ2JhKDAsMCwwLDApIn0=” image_width1=”eyJwaG9uZSI6IjEwMCJ9″ image_height1=”eyJwaG9uZSI6IjI2MHB4IiwibGFuZHNjYXBlIjoiMjEwcHgiLCJwb3J0cmFpdCI6IjE1NXB4In0=” meta_padding2=”eyJwaG9uZSI6IjE2cHggMTVweCAxMXB4In0=” meta_padding1=”eyJwaG9uZSI6IjE1cHggMThweCIsInBvcnRyYWl0IjoiMTVweCAxNXB4IDEwcHggIn0=” cat_bg_hover=”#3f9b8c” review_stars=”#fff”

How do I fix the problem? Or at least rollback the update so the site starts working again?

Calin
tagDiv Staff

Hi,

If I understand correctly, you want to change the h from the Big Grid Flex post titles, then you can change it from this file -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php -> https://i.imgur.com/KYexNka.png then all the post titles from all modules will have the H set in td_module.php

Hope this will help you!
Thank you!

Calin
tagDiv Staff

Hi,

The file for Big Grid Flex block can be find in -> wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_big_grid_flex_1.php if you want to add the excerpt, you can check the flex block excerpt wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php

Hope this will help you to achieve what you need!
Thank you!

Calin
tagDiv Staff

Hi,

No, some of the elements have flex and also on anther class or path have display block, or inline block, these will be fine, usually the problem is on specific blocks, or more exactly on flex blocks, please provide me a link to your website, in this way I will be able to help you with some custom css

Thank you for your understanding!

mattemkadia
tagDiv Member

Hi Calin, we have multiple flex blocks accross our site, example CSS is

.tdi_95_a94 .td_module_wrap {
width: 25%;
float: left;
padding-left: 15px;
padding-right: 15px;
padding-bottom: 18px;
margin-bottom: 18px;
display: flex;
}

Do we need custom CSS for EVERY flex block id? i.e. tdi_95_a94, tdi_98_b99, tdi_104_455?

Calin
tagDiv Staff

Hi,

If you use the Popular (Jetpack filter), you can not use other settings on that block-> https://i.imgur.com/H9rdOB8.png, because these options will not apply, will be apply only the filters from Jetpack.
You can check more about the sort an filters in our documentation from here -> https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

Vlad S
tagDiv Staff

Hello !

Unfortunately we have not tested a plugin in this matter. And as mentioned above, you can create a brand new page which can be inserted as part of the menu:

Created a new page, added a flex block on that page, saved the page and copied the page id: https://www.screencast.com/t/8G5sOeiZ

In appearance – Menus, add the page and insert the page id: https://www.screencast.com/t/wOs54xcx345b

I hope this was more helpful !

Thank you !

Calin
tagDiv Staff

Hi,

Yes, this problem appear because the ie11 do not recognize the css style flex, please provide me a link to your website and some details, screenshots with the elements that do not work for you in ie11 and I will help you with a custom css.

Thank you!

Calin
tagDiv Staff

Hi,

Please notice that the excerpt option is only on block and flex blocks, the grids do not have the excerpt option.

Thank you for your understanding!

Calin
tagDiv Staff

Hi,

Unfortunately for the moment the H tags can be change only on flex block -> https://i.imgur.com/CRGu03N.jpg on block title.

Thank you for your understanding!

AnthonyM
Participant
#0

I’ve got two Flex Block 2 elements in my sidebar with an ad in between. The first element is showing the 2 most popular posts based on Jetpack stats, the second element under the ad should show the 3th and 4th most popular element but is showing the same two posts while I put an offset of two.

Freddy Meynard
tagDiv Member

Do these file changes this still apply?
https://forum.tagdiv.com/topic/post_views_count/

I tried pasting the code below to the td_flex_block_1, in the main files, but it triggered an error.
<?php echo $this ->get_views(); ?>

Any pointers?

Viewing 25 results - 4,826 through 4,850 (of 6,276 total)