Search Results for 'flex'

Results from the Forum
MadhurKotharay
tagDiv Member

Interesting. I have been breaking my head for the last 16 hours trying to solve exactly this problem. Finally, I logged into the forum to find this being discussed.

What you said works perfectly for all mobile templates such as home, tag, search, and page templates. It does not work only in the category mobile template. So I don’t think I am doing anything wrong.

I tried deleting all category templates for desktop as well as mobile and recreate them.
Even then, it simply refuses to apply the mobile theme. Actually, it applies some parts (such as limit post numbers in the post loop) but refuses to remove the flex blocks inserted earlier in the template. Looks like some shortcodes, once created, do not get deleted in category mobile template.

I used Magazine PRO templates to start with and modified them for my website, if that helps.

Simion C.
tagDiv Staff

Hi,

That seems to be related to flex block 1, and mainly this field from the block settings where the size for the review stars is set https://i.imgur.com/j0KWGZU.png

Maybe there was an invalid value set there somehow, in the homepage or where flex block 1 was used throughout the website. Normally there is a numeric value there, if something else is entered there it could be a problem. Perhaps that is the case here.

If you want we will take a look at this, we can check the website if you can provide access to it via email, and to a file manager so we can add the line of code again. Let us know.

Thank you!

poldino
tagDiv Member

Hi Simon

I display the via name and via url fields in a news loop.
for example flex block 1.

To achieve this I have modified

td-composer/legacy/common/wp_booster/td_module_single_base.php
line 894 i comment

/* if (!$this->is_single) {
return; } /*

td-composer/legacy/Newspaper/includes/modules/td_module_flex_1.php
line 147 I have added
php $td_mod_single->show_source_and_via()

poldino
tagDiv Member

Hi Calin
I found PHP Warning: A non-numeric value encountered in /srv/htdocs/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php on line 439
That’s the error appearing millions of times in the log today. Looks like its an issue with the td-composer plugin and Newspaper theme.

I delete this line $res_ctx->load_settings_raw( ‘review_size’, 10 + $review_size/0.5 . ‘px’ ); anbd now all working perfect whit php 8.1

We using Prebuilt Website Installed:
Kattmar

thanks

Mark Gilbert
Participant
#0

I am using Flex Block 4 and adding markup for italics to one word in the article title. But in the live title, the italics don’t appear. Can this be fixed?

Here is the page using Flex Block 4 – https://jazzjournal.co.uk. The relevant article title is “JJ 08/62: Giuffre date – the making of Thesis” and italics don’t appear.

Here is the article page, where the italics do appear: https://jazzjournal.co.uk/2022/08/24/jj-08-62-giuffre-date-the-making-of-thesis/

I have tried both JJ 08/62: Giuffre date – the making of Thesis and JJ 08/62: Giuffre date – the making of <i>Thesis</i>. Neither work in Flex Block 4.

Thanks
Mark Gilbert

poldino
Participant
#0

Greetings .
I have modified the following files

td-composer/legacy/common/wp_booster/td_module_single_base.php
td-composer/legacy/Newspaper/includes/modules/td_module_flex_1.php

and am trying to put it in the child theme. but it does not work . Could you help me?

Calin
tagDiv Staff

Hi,
You need to create a new page and set in that page only the flex block that you want to set in inline ads, then copy the shortcode between the [vc_column] … [/vc_column] -> https://prnt.sc/2V9ULVsOdhoy
I hope this will help you!

erickimani
tagDiv Member

Thansk for the reply. I know know how to setup a flex blocka nd where to place it (in the ad area)

The only problem is that I dont know where to copy the code for the Flex block from so that I can paste it on Inline ad spot.

Please send me a screen shot of where to find the code.

banglak1993
Participant
#0

Hi
Please help me check what is this error

1. When double logged in with administrator account, Flex Block 1 still displays correctly https://ibb.co/SnYR5GM
2. But when I watch in incognito location Flex Block 1 shows error https://ibb.co/Pgkg40r
3. apart from the categories template i also have a problem with the post template where on mobile the text can’t be displayed as it should be https://ibb.co/jZPv3jS

Please check and suggest how to fix the above errors

Calin
tagDiv Staff

Hi,
Unfortunately, we do not have a dev documentation for the flex blocks. We have only a general one -> https://forum.tagdiv.com/api-blocks-introduction/
The files path for the flex block 1 are here -> wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php in this file you can add what you’ll like to display on flex block 1.
Thank you!

Calin
tagDiv Staff

Hi,
Unfortunately, for the moment this is not possible.
On flex and loop you can display one category and extra label, the author, date, title, excerpt and the comment number, to display other information it needs to edit the theme elements in the theme files.
Thank you!

Calin
tagDiv Staff

Hi,
The Newspaper theme allows you to include flex blocks inside your post content using a single post template.

Simply click on the single post content element and click on the Ads tab. Here, you are able to add the code for the flex block to be displayed inside the post content. An example code to add flex block with a random post can be get from here -> https://pastebin.com/trhbST2j -> https://imgur.com/swFF2As

Example : Flex block with a random post. The sample code added in the field for the article inline ad 1 -> https://imgur.com/809lHPB

To make your own inline blocks, create a new page and set the flex block that you want to use, after you edit it just copy the shortcode for the flex block from the page and set it like in above example -> https://imgur.com/sVBHL49

The code is the one set between the “vc_column” and “/vc_column” shortcodes
-> https://imgur.com/ah9QUig

I hope this will help you!

poldino
Participant
#0

How can I display the via name and via url fields in a news loop. for example flex block 1

erickimani
Participant
#0

I would like to put place a big grid flex1 after the 3rd paragraph of every post.
How do I do that I can only place at the top or bottom of the article currently.

If not the big grid flex1 what can I do to get the same effect.

christvbible
tagDiv Member

Is there a more flexible video plugin I could use in Newspaper?

Calin
tagDiv Staff

Hi jb,
So you want to disable the categories on modules, for this you can use this option -> https://i.imgur.com/c7ibQFR.png now if the element is a flex block, then you need to edit the page using tagDiv Composer select the element and search for category -> https://i.imgur.com/8jEuYzI.png
I hope this will help you!

poldino
tagDiv Member

This is pressable.com’s answer. I use this template with these plugins for 14 different client pages and 4 different servers. they all use php 8.1 and I have had no problems
————————————————————————————–
I found that the following plugins are causing the issue:
td-composer
td-standard-pack

Error logs shows:

PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / float in /srv/htdocs/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php:439

Anamaria
tagDiv Staff

Hi,

Please check this article, enable the option and see the results: https://forum.tagdiv.com/unique-articles/
This option automatically removes duplicate posts from the page.
You can filter the blocks to display the popular posts -> https://i.imgur.com/lQZdJN0.png -> https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

Anamaria
tagDiv Staff

Hello,

Unfortunately, you can’t add ads in the flex block.
A solution is to use auto ads that will be automatically placed where they fit correctly => https://i.imgur.com/qX36kT0.png -> https://support.google.com/admanager/answer/10452255?hl=en
If the ads are auto ads, then you need to add the code between head tags, this can be set in our theme in Theme Panel -> Analytics/Js Codes. Example: https://prnt.sc/1tju9qf -> https://prnt.sc/10jk7fq, the code needs to be set only once per page -> https://www.wpbeginner.com/beginners-guide/how-to-add-google-adsense-to-your-wordpress-site/

Thank you!

#0

I need to add advertisements to flex block 1 with infinite scrolls. How can i do it?

VeriArtem
Participant
#0

Hello

One of Flex block have a block title and more links. I couldn’t find out how to remove it. I can only add text if left blank than default text block title is on. Screenshot https://veriartem.com/screenshot/

Regards
Alex

Anamaria
tagDiv Staff

Hello Bruno,

To display the related articles and more from author, you can use Flex Block and filter it https://www.screencast.com/t/SEmxo13Fo2X -> https://i.imgur.com/YIg3nPP.png

Thank you!

Anamaria
tagDiv Staff

Hello,

Please create the sidebar with tagDiv Composer https://forum.tagdiv.com/sidebars-tutorial/ , set a flex block and filter it to that category that you want to display.

Thank you!

willkar
tagDiv Member

Hello calin.

You are checking the tagdiv composer for the CPT templates. I was poiting out for Custom Taxonomies (https://imgur.com/s56LysO). Sorry if what I said before was misleading.

Regarding the second thing I point out, thanks for the feedback. Looking forward for that update.

And thanks Tagdiv for the amazing updates. It is giving me the flexibility to do what I have always dreamed of doing without the help of a developer. 

Calin
tagDiv Staff

Hi,
Problem. I just checked and for me the external shortcode appears -> https://i.imgur.com/00gghwk.png -> https://i.imgur.com/42e4MHU.png maybe I didn’t do the same settings like you.
AQ. Unfortunately at this moment this can be done only using the filter from blocks, like you mentioned.
There will be soon an update and this will provide some more flexibility to the CPT.
Thank you!

Viewing 25 results - 2,551 through 2,575 (of 6,276 total)