Search Results for 'block'

Results from the Forum
Eighthats
tagDiv Member

WP = 6.6.2
PHP = 8.1.29
Newspaper: 12.6.7

This error has occurred on multiple category templates intermittently, displaying the same way.

We have many plugins across the site, things like Advanced Ads Pro, and Advanced Custom Fields Pro, but when we disable those plugins, it doesn’t fix the problem.

Perhaps it is related to the following:

When editing the 6G category (the link I provided that was previously not working), we tried using “Edit” instead of “Edit with TD Composer.” We were then able to assign the category in the Gutenberg editor which resolved the problem BUT made the category template disappear from Cloud Templates on the back end.

It’s strange, sometimes when I click the “Edit” button on a category in the Cloud Templates, it shows the Gutenberg block editor, and sometimes it shows the “Classic Editor” without categories available. Something seems broken here… images attached.

View post on imgur.com

Anamaria
tagDiv Staff

Hi,

No, there is no option to block the Ad Blocker.

Thank you!

Anamaria
tagDiv Staff

Hello,

You can filter the blocks using custom filed, the custom filed needs to be the type of text assigned to the posts, or CPT and use this value in the post id or use type acf type true/false to include/exclude posts https://i.imgur.com/bpiJMXL.png > https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

brockpress_
Participant
#0

I don’t know anything about ACF though I did download the plug in but I have no clue how to use it and the guides for it are all quite confusing. I think exclude custom field will do what I wish to exclude a few selected posts from showing up in flex block but how do I do it step by step?

karemfouad
Blocked
d Blocker - topic
#0

Is there a code in the template that automatically blocks the Ad Blocker like the Jannah template? Please send an explanation of how to do it if it exists.

kubick
tagDiv Member

Thank you for your reply, but I would like to clarify my question. My main issue is sorting the post with events by the start date, which is stored in an ACF field called “data_i_godzina_wydarzenia”. I would like to display only future events (those that haven’t occurred yet) and sort them by this field, not by the post creation date.

To give You a better idea, here’s a video that explains how to do it in Elementor: https://youtu.be/w-95BrIJyQA. However, I’m using Flex Block Builder i TagDiv Composer, so I would need similar guidance for that.

Could you please help me with adjusting the query or settings to achieve this?

Thank you for your assistance!

nilasisx
tagDiv Member

Also i saw When WP Rocket is enabled, the gallery images show an SVG placeholder code in the lightbox (as seen in the inspect tool), resulting in “Image Cannot Be Loaded” errors. This problem only occurs with the gallery block; individual images work perfectly with LazyLoad and lightbox functionality.

code looks like this: https://prnt.sc/Gqa4l-1alfaB

Calin
tagDiv Staff

Hi Jakub,
So you’ll need to create modules (you can add the element you’ll like on your block, like title, image, date, custom fields for ACF ….) that will display the data you wont for your CTP to be display on Flex Block Builderhttps://i.imgur.com/FXiIsYA.pnghttps://i.imgur.com/a8TkqlA.pnghttps://i.imgur.com/TujQWUA.png
I hope this will help you!
Thank you!

hcn
tagDiv Member

Hi Bettina,

thank you very much, this enabled me to see that Test1 (head code was played). I had looked on my cell phone in private mode and apparently the tracking by Google Analytics was also blocked by the Iphone. In normal mode the tracking works normally.

manuelencinar
Participant
#0

Hi. I am trying to edite the flex block 1. Right now is like this: https://ibb.co/n7X8g9z. And I want something like: https://ibb.co/GtYHCZ1. Is this possible?

kubick
Participant
#0

Hello Support Team,

I am creating an event calendar using Advanced Custom Fields (ACF) to store event information, including the event date and location. I want to achieve the following:

Display only future events, starting from the current date (including events happening today).
Sort events by the event date (stored in an ACF field) rather than the post creation date in the CMS.
The event date is stored in an ACF date_time_picker field named data_i_godzina_wydarzenia.
The event location is stored in an ACF text field named miejsce_wydarzenia.
I am using Flex Block Builder to display the posts from my custom post type (CPT). Could you please guide me on how to modify the query or settings so that my event list displays only future events, filtering out past ones and sorting them by the event date?

Thank you very much for your help!

Best regards,
Jakub

don_poky
Participant
#0

Hi,

I am seeking to have pagination as Normal Numbered in Flex blocks element and Woo Product element. Normal numbered pagination is available in Woo Loop element, Post Loop., etc. Is it possible to have in Flex Blocks?

Also, normal numbered displays pages numbers as “[1] [2] [3] … [25]”. I want to have more pages between [3] and [25].

Thanks

wimothy
Participant
#0

On this site https://www.sportevents.eu/multisports/

if you click on menu the mega menu pops. but If you don’t select one item you cannot close it. is there a way that this men can close on click ?

Saniya
tagDiv Member

I appreciate your suggestion, but it hasn’t completely resolved my
issue. I managed to integrate a view count in the flex block module,
but this has disrupted the pre-made design provided by the Newspaper
theme. Moreover, it’s crucial for me to have the view count displayed
in the post loop as well, as it is utilized across various sections of
the site such as the search page and author page. If this
functionality isn’t available out-of-the-box, could you please guide
me on how to implement this feature through custom code?

OLD WEBSITE: https://watercraftjournal.com/
NEW WEBSITE: https://watercraftdemo.yashamsoft.com/home-2/

Images
Old Website: https://postimg.cc/yDYGKz83
How old website shows views count on posts loop also: https://postimg.cc/G475hS47
Custom module I have created to show views count: https://postimg.cc/64t0hd74
design lost in custom module: https://postimg.cc/xkNtjjD8

Thanks,
Saniya Saher

SamRe
Participant
#0

When I use “edit content” popup, appear the following error due a Members Plugin.
Fatal error: Uncaught Error: Call to undefined function Members\Admin\members_is_admin_page()

The issue is tracked here: https://wordpress.org/support/topic/members-plugin-blocks-functions-of-the-tagdiv-builder/

Can you help me to fix? Thanks

Lamb
tagDiv Member

I added a html block from the guttenberg editor at the end of the post article.
This is exactly the code I wrote :

<style>
.tdm-popup-modal .jp-relatedposts
{
display:none!important;
}
<style>

Can you help me pls?

mande
tagDiv Member

I tried with Flex Block 1 and Flex Block 3.
Both are not working.

It has same outout as Posts loop module.

Keeps changing on page refresh.

Anamaria
tagDiv Staff

Hi,

Please use a flex block and check if it works.

Thank you!

c386
tagDiv Member

Hi Anamaria,

Thank you, as always, for the quick response.

The cover block gets me close to what I want but doesn’t achieve the desired overlap effect. Is there any way to get the overlapping edge to stick out, as follows:

I would only want to shift it ~10px up and right. Using the negative top margin doesn’t work as it remains constrained to the container.

Any ideas? Thanks!

Anamaria
tagDiv Staff

Hello,

To sort the block for Popular (24h,48h and 7days) you need to have added the element SINGLE POST VIEWS => https://i.imgur.com/pLWuoSS.png -> https://i.imgur.com/BbrBmL0.png, also, for Popular you need to have this option enable https://i.imgur.com/grI3bti.png
The sort option will be displayed that popular posts of the last 48 hours, those can be older posts.

Thank you!

Anamaria
tagDiv Staff

Hello,

Please use the option for Flex Block for title -> https://i.imgur.com/f6w9Snx.png and try after.

Thank you!

c386
Participant
#0

Hi,

I want to overlap two images in the post editor to create this effect (link in case embed doesn’t work):

The large image (red) would be 100% column width, while the small image (blue) would overlap the top-right corner.

I’ve tried all sorts, including the media and text block, or the cover block, and can’t quite get it right. Using columns and custom margins can almost get me there, but then it isn’t responsive on mobile.

Any help achieving this would be greatly appreciated.

robertot
tagDiv Member

Hi Anamaria,

Thank you for your answer. Not sure why you weren’t able to see the ad that is just below the header, it sometimes shows as a blank spot for me too. Anyway, the ad is not in the header per se – it’s just the first block of the homepage’s Content area.

You can see it in the screenshots below, along with the settings we use:
Our theme panel ad settings: https://imgur.com/a/h90vxYu
The ad in question, on screens < 458px wide: https://imgur.com/3yYFp78
The ad on screens 458px – 767px wide: https://imgur.com/jC8kRRC

Your solution of inserting the code again in the Mobile header *might* work, but as this ad placement is already showing in the correct spot for all devices, it would make more sense to use the AdSense code just once (like it is now) and work with the Theme Panel options to adjust the sizing to different devices. Duplicating the ad code in the mobile menu would prolong page load time for all devices and it would show this ad on the entire website instead of just on the homepage, which I don’t want.

The built-in Theme Panel options for different devices should be exactly what I need and they should work. They already seem to work fine for screens 458px-767px wide. The quirky behavior that happens below 458px width is what breaks this feature for our site.

So I would just like to fix the erratic behavior at <458px, because that’s the real problem and I’d really like to understand it and fix it while keeping a clean code&structure.

Thanks a lot, Tagdiv team! Here’s hoping we can find out what’s happening here :).

Bikul
Participant
#0

Hello,
I created a Flex Block 1 with 3 columns and lines inbetween.
I guess because the length of excerpts are different some lines are too short to built a contuing line between the columns.
problem
Is there a way to achieve that?
As the site is not visible to the public yet, can I give you Login Credentials here?
Thank you for feedback
Bernd

Bikul
Participant
#0

Hello,

It is very strange: on a homepage I placed different Flex Block 1.
When I change the header color of them, it works for some, for some not.
Even if I delete this Block and add a new Flex Block 1, it shows the same wrong color in the header, which I cannot change.
problem
As the site is not visible to the public now I could give you Login Credentials here?
What to do?
Thank you for Feedback
Bernd

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