Search Results for 'block'

Results from the Forum
Calin
tagDiv Staff

Hello,

The forum questions are available only for the members that have an account on it and this can be made on using a license key.

Unfortunately if you have a pro demo installed the theme panel options will not apply on it, it can be edited only using tagDiv Composer, and this is not so hard after you do it a few times.
I will show you how to do it, first edit the page or cloud template using tagDiv Composerhttps://i.imgur.com/YzFXqaU.jpg then select the block you’ll like to add the pagination and in “filter” tab you’ll have extra options- https://i.imgur.com/n2DTTeg.jpg. This is what you need to do for all blocks where you’ll like to have a pagination, the only difference is that on posts loop element the option for pagination is in general tab not in filter – https://i.imgur.com/qLUMKtZ.jpg

I hope this will help you!

Calin
tagDiv Staff

Hello,
Sorry, we can provide support only during the working hours = https://i.imgur.com/cmEfl8I.png
Yo have a podcasts like this one https://cloud.tagdiv.com/featured-podcast-podcasts/ you can import from the cloud library that blockhttps://i.imgur.com/BCJ629L.pnghttps://i.imgur.com/Vre3uvk.jpg – after that make sure that your audio articles are set like this – https://i.imgur.com/IHglvJ5.png after that the results should be – https://i.imgur.com/UY0YSlt.png
Thank you!

Calin
tagDiv Staff

Hi,
I think that the code you have needs to be apply on a different class to can remove the ad title, or a different option to remove the title from ad blocks.
Thank you!

cadarmarius
Participant
#0

I set teh date to shown on a loop block for category, then i tried the same thing on flex blocks on homepage, but despite in setting is set to shown date and tried different colors, the date is missing.

On source of the page i notice that the div date is there, but is empty, no text in it. Just like the function to get the date modified doesnt work, Any ideas?

Bavarde
tagDiv Member

Background fixed.
For the slider I used the Otter block. For a reason I can’t remember, but it does fit in perfectly. Just the jumping to the right…
Thanks again

Eduardo-C
Participant
#0

I have update from version 10.6 to the latest version, and the updating process completely broke my website. I can provide screenshots if needed, but I see things like:
Warning: Undefined array key 1 in /Users/eduardo/Local Sites/wctast/app/public/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 4922
and the td shortcakes are displayed on the website, like:
[td_block_23 limit=”1″ sort=”random_posts” custom_title=”” tdc_css=”eyJwaG9uZSI6eyJtYXJnaW4tYm90dG9tIjoiNjAiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ==” post_ids=”366″]

aviaciondigital
tagDiv Member

Hi,
I have disabbled all plugins but the tagDIV ones, and still have the same issue.
I am afraid I need some help on this. I can provide dev access.

Here is the error that I get in the logs:

PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php:952

Stack trace:
#0 /wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php(1423): td_data_source::shortcode_to_args(Array, ‘2’, ”)
#1 /wp-content/plugins/td-composer/legacy/common/wp_booster/td_ajax.php(138): td_data_source::get_wp_query(Array, ‘2’, ‘td_flex_block_5’)
#2 /wp-includes/class-wp-hook.php(324): td_ajax::on_ajax_block(Array)
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_td_ajax…’)
#6 {main}
thrown in /wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php on line 952

nolandolce
Participant
#0

Hi all, our excerpt length is set to 15 on the homepage flexblock 1. However, the word count seems to change for each post. For example, if you scroll to the 3rd set of posts, the last post shows 27 words.

Also, if you change the word count to 13, then each post is anywhere from 13-27 (all of them vary).

Further, is there a way to change this to character count vs. word count? Some sentences have much shorter or longer words than others, so it can make the flex block look inconsistent and messy.

Thanks!

Nagarig
tagDiv Member

@anamaria ok, will send an email. One more, how to remove that Comments block from the Author box? It is showing 0 comments. We have comments disabled.

Pietro Costanzo
Participant
#0

Hello,
we created a copy of our production website (already based on newspaper theme) on a staging environment to renew its layout, importing and adapting new sections, blocks, etc. from cloud templates. As we finally ended out with the development, now we want to push such changes from staging to production.
If we only import “files” (and not also the DB), it seems that theme changes are not imported. However, we cannot simply push the whole DB from staging to production, otherwise we will lose a lot of contents there were published in the meantime.
So the question: how can we import the newly developed version of the theme?

Thank you,
regards
Pietro

wordpressive
tagDiv Member

function display_guest_author_shortcode() {
// Get the current post's ID
global $tdb_state_single;
$post_id = $tdb_state_single->post_id->__invoke();

// Check if the custom field 'guest_author' exists
$guest_author = get_post_meta($post_id, 'guest_author_name', true);

// Display the custom field value if it exists, otherwise show 'Staff'
$author_name = esc_html(!empty($guest_author) ? $guest_author : 'Staff');

$html = '<div class="td_block_wrap tdb_single_author td-pb-border-top td_block_template_1 tdb-post-meta" style="display:inline-block;font-family:Rubik!important;font-size: 13px!important;line-height: 1!important;font-weight: 400!important;text-transform: capitalize!important;padding-right:10px !important;margin-bottom:16px;color:#444;font-family:\'Open Sans\',\'Open Sans Regular\',sans-serif;font-size:11px;font-weight:400;clear:none;vertical-align:middle;line-height:1">

<div class="tdb-block-inner td-fix-index" style="display:flex;align-items:center"><div class="tdb-author-name-wrap" style="display:flex;align-items:baseline"><span class="tdb-author-by" style="margin-right:3px;font-family:Rubik!important;font-size:13px!important;line-height:1!important;font-weight:400!important;text-transform:capitalize!important">By</span> ' . $author_name . '</div></div></div>';

return $html;
}

// Register the shortcode
add_shortcode('display_guest_author_byline', 'display_guest_author_shortcode');

Then we do simple [display_guest_author_byline]

Goal was to replace the Author byline widget with something that will read a custom field (Guest Author) because none of the existing plugins seem to play nice with Newspaper theme. Simply publishing a custom field also didn’t work because we wanted some logic about showing ‘Staff’ when no Guest Author was there.

Bettina
tagDiv Staff

Hello @Tribun74!

You can use a flex block with this feature enabled: https://app.screencast.com/p09hpiFl0t12d

Thank you!

artsetsu
Participant
#0

Hi,
I am facing the title Block issue.
Please you please have a look
URL: https://whatson.guide/whatson-music-academy-where-musical-dreams-unfold/
Image: https://prnt.sc/wfzbp0_JM1sR

Anamaria
tagDiv Staff

Hi,

Please check the filter on the block -> https://i.imgur.com/IiR2qgX.png
Also, please provide the link to your website.

Thank you!

gabriele342
Participant
#0

I inserted a flex block 1 on my homepage at the top of the page, which must display the latest published post, despite having selected the news category it continues to display your posts by default, how can I display other posts

volpik
tagDiv Member

Dear Bettina, thank you very much fro your prompt replay.
The behaviour that I was describing is a bit different from what you can get with offset, and I am currently using offset, but is not solving the issue

let me try to better explain.
I have 10 post, p1..p10 p1 is the newest
Each post have a category, cat1, cat2, cat3
I have homepage, 3 section
Section 1 – New post
I want to show the newest post, no tag filtering,
So I set up
ID01-Block1 – show 1 post, no offset – No cat filtering
ID02-Block2 – show 2 post, 1 offset – No cat filtering
ID03-Block3 – show 2 post, 3 offset – No cat filtering
Then I have
Section 2- Cat 1
ID04-Block1 – show 1 post, no offset -cat1 filtering
ID05-Block2 – show 2 post, 1 offset -cat1 filtering
ID06-Block3 – show 2 post, 3 offset -cat1 filtering
Section 3- Cat 2
ID07-Block1 – show 1 post, no offset -cat2 filtering
ID08-Block2 – show 2 post, 1 offset -cat2 filtering
ID09-Block3 – show 2 post, 3 offset -cat2 filtering
The page have the show only one time “Unique Arthicles” active.

So what I want, that when the back end render the page,
first ID01 grab p1, then ID02 grab p2 and p3, and then ID03 grab p4 and p5.
Then, from the remaining 5 post, section 1 and section two will take the post according to filtering and of course the newest came first.
What I get instead, that ID01 get p1, then ID04 getP2 then ID07 get P3, then ID02 get P4 and p5. (remember I have Unique Articles ON)

I have tried to trick the system adding an extra tag, NEW, so the first three block, ID1-ID3 would filter according to the tag NEW, but it did not worked as well, as a said before ID05, ID07 run before ID02 and ID03 so they “grab” the new post, and as result the new post goes down in the pages, and in the NEW post section, where I would like to see the NEWEST post, I see the older ones.

Hope I was clear about what is happening.

So my question is, can I somehow “prioritize” the ID01-ID03 in running the query, getting the newest post, and then the other ones came, or can be other way to solve this issue?

Thank you very much in advance.

Bettina
tagDiv Staff

Hello @volpik!

You can use an offset for the blocks with the same filter: https://forum.tagdiv.com/offset-feature
For example, the first flex block will have no offset and limit 3, and the second flex block will have 3 in offset and limit 3 again or more, and so on.

Thank you!

volpik
Participant
#0

Hello,
I have a question,
I have several “flex block” on home page.
My post are classified with a specific tag.
I have on the first section, the “news” the newest 5 post, among three blocks.
Then I have several section by “tags” (i.e. politics, economy, and so on)
I have activated the functionality of the theme for display post only one time (very smart function!)
The point is that now, the system when I have NewPost1, NewPost2, NewPost3…. are assigned not on the first three blocks on the top of the page, but are assigned to different blocks around the homepage blocks, with no precise or apparently logics, NP1 appear on the first section, NP2 on the second section, NP# appeare on the first section again and so on.
So, there is a function that will distribuite the “stack” of new post among a precise order (let’s say block one, block two, block three) and then those post will be not shown on the subsequent section where the post are selected by a specific tag?
Thank you very much to anybody could help me with the issue.

Stone Age Seeker
Participant
#0

Hoping this is a simple solve – at the bottom of my blog posts is a block that allows readers to go backward to the previous or forward to the next post. This block has a grey background. I cannot for the life of me figure out where to change this background color – is it possible? Thanks for your help!

Nayenor
Participant
#0

Hi,

I’d like to make some ads available in the content feed, next to an article, in the “flex box”.

The block i’d like to put them in is the “latest article”, available here : https://pixel-zone.fr/

How can I proceed please ?

Calin
tagDiv Staff

Hi arajioni, the popular option is referring to all posts you have on your website and based on the selected option ,let’s say popular last 24 hours, will display the most view posts in the last 24 hours from all your website posts, this is because most of the time there are old posts that are much more viewed than some newer posts.
If you want to use an option perhaps similar to the one specified above by you, please try the “Popular option (jetpack + stats module required) Does not work with other settings/pagination” – https://i.imgur.com/bky38Ma.pnghttps://forum.tagdiv.com/flex-block-settings-guide/ this will use the jetpack plugin for popular posts.
Thankyou for your understanding!

nolandolce
tagDiv Member

Hi Bettina,

I was able to figure this out by adding in CSS for the image specifically, instead of the caption. For anyone reading, here is what I used:

[class^=”wp-block-“]:not(.wp-block-gallery)
figcaption{
color: grey;
font-style: normal;
font-size: 11px !important;
text-align: left;
padding: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
}

[class^=”wp-block-“]:not(.wp-block-gallery)
img{
padding: 0px !important;
margin-top: 0px !important;
margin-bottom: 2px !important;
}

Thanks!

nolandolce
tagDiv Member

Hi Bettina,

The editor doesn’t fix the space between the image and captions. For the Live CSS, I inputted this:

[class^=”wp-block-“]:not(.wp-block-gallery)
figcaption{
color: grey;
font-style: normal;
font-size: 11px !important;
text-align: left;
padding: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
}

Everything you see above works, except for the margins. Do you know what the correct text should be to make the margins adjust using the live CSS? Thanks!

Calin
tagDiv Staff

Hello,

1. You have now the amp plugin but also the mobile theme plugin, but I understand that you want to use the responsive version, therefore non of those plugins are not required (you can disable the tagDiv mobile theme and amp plugin).

2. This is usually related to a cache or optimizing plugin that is interfering with the js from the theme. Is this situation always, for example when you are logged in (and the cache is not apply)? If yes, then please check the browser console to see if there are any errors.
Indeed, I checked the website pagination is working now (because you disable the mentioned options from LiteSpeed cache plugin).
For css I think that you can use some options but not all of theme and for js please try to exclude those:
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
tagdiv_theme.min.js
tdBlocksArray

If this is not work please try this:
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
tagdiv_theme.min.js
tdBlocksArray
tdb_globals
td_youtube_list_ids
iosSlider
/td-cloud-library/assets/js/js_files_for_front.min.js

Also, the amp is deprecated https://i.imgur.com/gipeN7q.png

Thank you!

Anamaria
tagDiv Staff

Hi,

Unfortunately, no link to another website has been added to see the boxes.
You can change the blockquote style from here https://i.imgur.com/Dos41Mb.png or here https://i.imgur.com/vWy0t12.png or using custom code css https://forum.tagdiv.com/topic/blockquote-style-4/

Thank you!

Viewing 25 results - 3,301 through 3,325 (of 39,816 total)