Search Results for 'block'

Results from the Forum
Bettina
tagDiv Staff

Hello!

Please note that you should place that flex block in a post template to have effect.
From what I know and I can see also in the settings, there should be no limit of the code that you can place in the TagDiv Editor or the number of Post IDs.

Thank you!

Anamaria
tagDiv Staff

Hello,

Please provide the link to your website and indicate the block/element where you want to set the subtitles.

Thank you!

PeteMason
tagDiv Member

Thank you Bettina, I will look into this further to understand it, as my test following your example seemed no different than to select <all categories>. I am missing something.

But changing the subject back to my original post, it appears that I can import html from our client’s huge back catalogue into the WordPress database to create pages (as opposed to posts) without the risk of losing the input if edited with tagdiv if I add the tagdiv code for column text to both ends.

For example:

insert the following into the wp_posts “post_content” field:

[tdc_zone type=”tdc_content”][vc_row][vc_column][vc_empty_space][tdb_title][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

<div align=”center”>

<div>Coronavirus - a workers charter , photo Socialist Party</div>

</div>
.
.
. [more html here]
.
.

[/vc_column_text][/vc_column][/vc_row][/tdc_zone]

This appears robust. Would you agree? Is there a limit to the text size that the tag div editor can cope with? I would prefer my issue content pages to be pages rather than posts for consistency.

And final question, Is there a limit to the number of Post IDs I can add into the flexblock post ID filter?

Many thanks for all your help.

kewalsmulti
Participant
#0

I keep getting this message when trying to submit a support ticket:

Our system detected some kind of strange traffic from your ip. This error was logged and if our system is broken we will fix it asap.

~ tagDiv team ~

Message from the server (enter the captcha to access the site):

::CAPTCHA_BOX::

::IM_UNDER_ATTACK_BOX::

Help!

Bettina
tagDiv Staff

Hello!

Yes, we have a lot of options. The functionality from single related posts block was moved in the flex blocks. For example, add a flex block, go to the filter tab of the element’s settings and from the dropdown category filter you can choose between: Single – More from author, Single – Related by category, Single – Related from tags.
So, for example Related from tags is displaying articles/posts which have the same tags as the article you are currently viewing. Also, you can set Related and sort it as Random for example.

I hope it is more understandable now!

Thank you!

PeteMason
tagDiv Member

Thank you.

So, does the block Category filter option “Single – related from tags” just mean that you can select this option if you enter a value in the “Filter by tag slug”?

If I set a Filter by tag slug I usually leave the Category filter as “All categories” and it is fine. Perhaps I am missing something, or am I being pedantic (my usual failing).

Perhaps it is only there as a guide?

But I am not sure I properly understand all the “Single-xxx” options in the Category filer pull down list

I only ask as I want to know about every functionality – I find more options all the time.

giantbeats
Participant
#0

Hi, I just updated the newspaper site and my website has been disfigured, pages are not displaying correctly and the pages show an error page when you try to open them.

error displaced are as follow

Home page

[td_block_big_grid_1 sort=”” td_grid_style=”td-grid-style-4″ mx5f_title_font_style=”” mx5f_cat_font_style=”” mx5f_cat_font_weight=”500″ mx5f_cat_font_spacing=”1″ mx5f_cat_font_transform=”uppercase” tdc_css=”eyJhbGwiOnsiYm9yZGVyLWNvbG9yIjoiIzFlNzNiZSIsImRpc3BsYXkiOiIifX0=”][td_block_8 limit=”12″ block_template_id=”td_block_template_14″]
[td_block_2 custom_title=”Politics” header_color=”#3f51b5″ category_id=”” limit=”6″ ajax_pagination=”next_prev” sort=”” tag_slug=”Politics”]
[td_block_2 custom_title=”Economy” header_color=”#e91e63″ category_id=”” limit=”6″ ajax_pagination=”next_prev” sort=”” tag_slug=”Economy”]

PAGE

wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_2 is not set.
/home/newnews/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php

please kindly assist me in resolving this.

Chyamaqa
Participant
#0

Please help!

I want to edit the block header loop post element for city News demo via Tagdiv composer.

Please also let me know, if I install newspaper version 10.3 will I be able to access the city News demo with Tagdiv cus when I was using version 10 I was able to do it but now I can’t. Please help.

Frederic Fauvel
tagDiv Member

Might have to change the condition before the loop too.

if ( count( $style_matches ) && is_array( $style_matches[ 0 ] ) ) {
foreach ( $style_matches[ 0 ] as $style_match ) {
// find inline css
$result_style .= preg_replace( ‘/.tdi_(\X*)/miU’, ‘.td-gutenberg-editor .editor-styles-wrapper .wp-block’, $style_match );
}
}

should be

if ( count( $style_matches ) && is_array( $style_matches[ 1 ] ) ) {
foreach ( $style_matches[ 1 ] as $style_match ) {
// find inline css
$result_style .= preg_replace( ‘/.tdi_(\X*)/miU’, ‘.td-gutenberg-editor .editor-styles-wrapper .wp-block’, $style_match );
}
}

Frederic Fauvel
Participant
#0

There is a bug in the common.php locate at td-composer/legacy/common/common.php.

If you have more than 1 tdb_single_content shortcode in a page, the css will end up with an extra </style> markup.

The preg_match capture should be use (\X*):

// find inline css
preg_match_all( ‘/\/\* custom css \*\/(\X*)<\/style>/miU’, $rendered_shortcode_content, $style_matches );

foreach ( $style_matches[ 0 ] as $style_match ) {

It’s using the first index [ 0 ], that include the </style>

Then
$result_style .= preg_replace( ‘/.tdi_(\X*)/miU’, ‘.td-gutenberg-editor .editor-styles-wrapper .wp-block’, $style_match );

will end up with

“first block of css</style>second block of css</style>”

then

$style = ‘<style>’ . $result_style;

will make it
<style>first block of css</style>second block of css</style>

foreach ( $style_matches[ 0 ] as $style_match ) {
should be
foreach ( $style_matches[ 1 ] as $style_match ) {

and

$style = ‘<style>’ . $result_style;
should be
$style = ‘<style>’ . $result_style . ‘</style>’;

Regards

bresciaingol
Participant
#0

This error came out: “Errors at columns elements: 8 (models): 7 (dom). The model does not match the content Current state has involved an issue. You could try an UNDO operation (CTRL + Z / CTRL + SHIFT + Z) ‘

I kindly ask you the steps to solve it.

Thanks.

Calin
tagDiv Staff

Hi,
I think that you are referring to this option https://i.imgur.com/MPxhyNX.jpg that can be set with tagDiv Composer on blocks, if is so, then please make sure that you have enable another two options: this one https://i.imgur.com/leEMlrL.png and this one -> https://i.imgur.com/cvm8LZS.png
-> https://forum.tagdiv.com/newsmag-7-days-post-sorting/
I hope this will help you!

Jia
tagDiv Member

Hi Tagdiv,
My above problem is solved. It is due to EWWWW plugin. I have sent the problem to them.
Just help me with this question.
woo product block shortcode isn’t available on tagDiv newspaper x. How to get it?
.
For example check out this https://i.imgur.com/8xQuKdG.png
.
I only have two woo shortcodes.
One is Woo Cart and Second is Woo shortcodes.
https://imgur.com/undefined

Anamaria
tagDiv Staff

Hello,

I think the problem is with the Printify plugin, to update the product list.
Also, please try to use the elements from tagDiv Composer for products https://i.imgur.com/8xQuKdG.png to displaying them.
You can use the woo shortcodes, but you have more options with woo product block.
Also, please try to deactivate the Printify plugin, and see if the problem persists.
Please note we offer support only for the WooCommerce plugin, not for other plugins that are created for different options.

Thank you!

Anamaria
tagDiv Staff

Hello Mark,

I did some tests and it seems that the elements that are written in Translation with Uppercase -> https://i.imgur.com/r0rOTRA.png need to be rewritten, I let you know only the elements Block Header and Form title text (Leave a reply) must be changed, for the rest of the font transform works normally https://www.screencast.com/t/8EfcjQw0a

Thank you!

Anamaria
tagDiv Staff

Hello,

Please add an extra class in the element, for example I set the class .td-text-decoration -> https://www.screencast.com/t/Fseadw9wh =>

.td-text-decoration .wpb_text_column a, .wpb_text_column a:hover, .td_block_text_with_title a, .td_block_text_with_title a:hover{
text-decoration: underline red!important;
}

Hope this code will help you to achieve what you want!

Thank you!

goodmuyis
Participant
#0

Going straight to the point.
I (we) need additional “Sort order:” for option available from Block >> Filter >> Sort order.
The additional sort order needed is “Random posts from last 24 hours” option so that we can display some random posts created in the last 24 hours for our readers.

The Random posts Today option will not work if the time is between 00:00 hours to 06:00 hours when no posts have been created yet, so the “Random posts from last 24 hours” make much sense.

I have edited td-composer plugin to achieve the needed result, but is there a way to get a custom code I can use so that the next update will not overwrite my customization and break the site.

Note 1: the customization was affected by lscache plugin, so it doesn’t randomize on page reload until the next cache purge, which is understandable

Below are the files edited in the plugin.

File: td_data_source.php
Location: /plugins/td-composer/legacy/common/wp_booster/td_data_source.php:
Lines Edited: 238 – 244

case 'random_last_24':
$wp_query_args['orderby'] = 'rand';
$wp_query_args['date_query'] = array(
'column' => 'post_date_gmt',
'after' => '24 hours ago'
);
break;

File: td_config.php
Location: /plugins/td-composer/legacy/Newspaper/includes/td_config.php:
Line Edited: 39184 (added)

'Random posts from last 24 hours' => 'random_last_24',

vwinklaar
Participant
#0

Hello,

I have a pdf embeded in a post: https://www.awemainta.com/2021/09/27/210927/

I want to show this post in a page, so the page will update with the most recent post everyday. And have adsense ads placed around it.

How can I do this? I tried different blocks to place the post in the page but nothing is working.

ps. I want to do it via a post so I can later place all the pdf’s in an archive showing in another page.

Thank you for your help in advance.

Bettina
tagDiv Staff

Hello!

A solution for this could be the settings from a flex block: https://forum.tagdiv.com/flex-block-settings-guide/ for exclusions, please check: https://www.screencast.com/t/ujljPdRYvp

Thank you!

Chyamaqa
tagDiv Member

Hello, I already have it imported. The issue here is that I can’t access the blocks on tagdiv composer.

Please how do I access the blocks and Posts content through tagdiv composer. That’s the problem

Mark Gilbert
tagDiv Member

This seems to be occurring when I change the name of a cloud template using Edit in Cloud Templates – the blocks in WP Editor turn into a long vertical line of letters, like this:

https://www.screencast.com/t/QKin5xoa4FPx

tobarthus
Participant
#0

I’m currently using the Alphabetical (A->Z) sort order filter on some of my flex blocks, however my issue is with sorting pages that begin with articles such as “The” or “A”, which I would like to ignore.

Example:

Alphabet
A Zoo in the Woods
Binoculars
Graffiti
The Dark Knight

(I would like it to be sorted like this)

Alphabet
Binoculars
The Dark Knight
Graffiti
A Zoo in the Woods

I’m still pretty new when it comes to coding / wordpress, so would appreciate any specific assistance on how to address the problem.

It wouldn’t be too big of an issue if I have to add a custom field on all those pages. with a canonical title for sorting that doesn’t include the “The” or “A” initial articles, I just don’t know where/how I would implement such a change within the theme.

Thanks for any guidance you might be able to offer.

Chyamaqa
Participant
#0

Please how do I access the blocks on my website via Tagdiv composer. When I mean block I mean Those Weird,Music, New events, Technology , Must read, Your news,Gagdets, Lifestyle Etc. I’m using City News demo (ore built website)

Please I need help on how to locate them through tagdiv composer so I can edit them with my own Preferences.

My former website I was able to see the blocks and Posts on my website once I open the composer but now it doesn’t show it only shows The header, an empty column (space)
Then the footer.

Please help. Thank you.

petedoesjazeeranews
tagDiv Member

I am doing exactly as described on tutorial ? in a specific flex block need to see posts belonging to example: ‘latest news’ category but 2 posts needs to always stay on top/beginning/before the rest of posts that were added after that

please take a look at screen record link attached, also I u need can provide login details to demo/sandbox so u can take a look?

I have purchased license and have 6 months support remaining

Thank you

Viewing 25 results - 8,076 through 8,100 (of 39,816 total)