Search Results for 'block'

Results from the Forum
giriraj
Participant
#0

Hello Team,

How to fix this CSS error? If I solved the issue, will save 300 ms in the performance, which will give great results.

I checked with LiteSpeed plugin support they said its related to Theme.

Can you Pls help me to fix this?

PageSpeed.png

Thanks

Giri

99ACORNS
Participant
#0

I’m facing a couple of issues with my WordPress site that I could really use some help with. First off, I’m using a newspaper theme along with the “SSL & Security: REALLY SIMPLE SSL” plugin. The problem is that at least once a month, the plugin flags the TagDiv Composer as high-risk during the “vulnerability scan: Site-wide, admin notification” and disables it every time. It’s becoming a bit of a hassle to deal with.

Secondly, I haven’t done any design updates on my site for almost a year, but recently I’ve been trying to spruce things up by editing the footer and header using TagDiv Composer. Unfortunately, I keep hitting a roadblock with a “404 file not found” error every time I try to make changes—even when working on a new page. Any ideas on what might be causing these issues?

marcusdoc
Participant
#0

With Redirection plugin, I’ve sent requests of /?author={any number} to a 404
regex is ^/(.*)author=(.*)

This should include nothing past the = character, but for some reason it does not.

How does one block /?author=

example of the output that is returned with that request
https://demo.tagdiv.com/newspaper_reel_news_pro/?author=

Thank-you.

novatechset
tagDiv Member

Managed to solve it. It was our firewall issue which was blocking. Thank you.

Zdenko12
tagDiv Member

Hi,
Can u give me IP,, BECOUSE HOSTING IS BLOCKET WEBSITE,,

Zdenko

Bettina
tagDiv Staff

Hello!

The block is an old one. I recommend you to copy-paste the same flex block 1 there instead of block 11,16 an 18. You can replicate any old block with the new blocks with more options. Documentation here: https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

forcenews
Participant
#0

Hi,
On the category page https://forcenews.pl/kultura/
I have modules at the top of the webpage:
Flex Block 5
Flex Block 1
In both modules, the colors of the CATEGORY TAG can be edited in the module layout.
On this page, I also have block 11 and unfortunately, I don’t know how to edit the colors of the CATEGORY TAG here. They are black, and I want them to be the same color as in Flex Block 5 and 1.

Similarly, on the homepage: https://forcenews.pl/
Block 16 and Block 18 – how to edit the color of the CATEGORY TAG and its position (above/below the image, below the title).

Thanks in advance for any help

Anamaria
tagDiv Staff

Hi,

Please block /wp-json/tdw/save_css
If an attacker wants to target this URL /wp-json/tdw/save_css they can do so. Even if the website uses a different theme, the attacker can still try that URL. We could add an option to be able to enable/disable the Live CSS, it will be considered. But for now in order to remove it this can only be done with a modification to the composer plugin. I think that all that removing it requires is to comment this line of code – https://prnt.sc/RtwvL5Nc4ikR -> https://prnt.sc/ymZmhdUfp57U But as I mentioned, the attacker can still try to access the URL.

Thank you!

darrenhive
tagDiv Member

I’ve been through tht twice already and the prblem is still persisting. Here’s what theconsole log shows.


jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'models') TypeError: Cannot read properties of undefined (reading 'models')
at Object.getFirstModelByZoneType (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:316:340)
at Object.getShortcodeFromData (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:353:457)
at Object.saveHeaderState (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:28:388)
at Object.init (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:23:279)
at https://<removed>/wp-admin/post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1138:44
at c (https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:25304)
at fireWith (https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:26053)
at e (https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27300)
at https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330 undefined
(anonymous) @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
setTimeout
(anonymous) @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
fire @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
(anonymous) @ js_files_for_wp_admin.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:49
IndexedDB
get @ js_files_for_wp_admin.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:49
(anonymous) @ post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1108
load
(anonymous) @ post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1107
(anonymous) @ post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1142

That’s the warning, and here are the errors.

td_wp_admin.min.js?ver=12.6.7:1 Uncaught SyntaxError: Identifier '_extends' has already been declared (at td_wp_admin.min.js?ver=12.6.7:1:1)
at td_wp_admin.min.js?ver=12.6.7:1:1
(anonymous) @ td_wp_admin.min.js?ver=12.6.7:1
js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400 Uncaught ReferenceError: tdDetect is not defined
at HTMLIFrameElement.loadIframe (js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400:385)
at HTMLIFrameElement.dispatch (jquery.min.js?ver=3.7.1:2:40035)
at HTMLIFrameElement.<anonymous> (jquery.min.js?ver=3.7.1:2:38006)
loadIframe @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400
dispatch @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
load
add @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery-migrate.min.js?ver=3.4.1:2
(anonymous) @ jquery-migrate.min.js?ver=3.4.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
each @ jquery.min.js?ver=3.7.1:2
each @ jquery.min.js?ver=3.7.1:2
Le @ jquery.min.js?ver=3.7.1:2
on @ jquery.min.js?ver=3.7.1:2
checkIframe @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:406
init @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400
init @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:410
(anonymous) @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:411
(anonymous) @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:411
post.php:1 Access to fetch at 'https://cloud.tagdiv.com/services-img/banner-composer.png' from origin 'https://<removed>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
domExtractorInjector.bundle.js:1

GET https://cloud.tagdiv.com/services-img/banner-composer.png net::ERR_FAILED 200 (OK)
C @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
h @ domExtractorInjector.bundle.js:1
A @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
load
(anonymous) @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
Show 8 more frames
Show less

This is running on a dev environment with no caching or optimization plugins

Bettina
tagDiv Staff

Hello!

You can choose which article to display on a flex block by writing the article ID: https://app.screencast.com/GtpWnGIePJQuZ -> https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

Anamaria
tagDiv Staff

Hello,

You have malware on the website because I can not access it. Please update to the latest version 12.6.7
If you want to update the theme, you should download the latest version of it from the Theme Forest account and download it.
I recommend that you update the theme manually https://forum.tagdiv.com/how-to-update-the-theme-2/ via FTP/cPanel/File Manager, also if possible disable extra plugins during the theme update to avoid any problems that may arise and make sure that you have activated the tagDiv Standard pack plugin to keep the website’s look. You can try to update the theme on a staging website.
After you update the theme, you need to update the theme plugins too.
In the worst cases, the settings in the theme panel may be lost (there have been isolated cases), in these cases, after the theme plugins that were previously used are activated, you will have to use a backup for the theme panel -> https://forum.tagdiv.com/import-export-theme-settings/
You could consider reinstalling the WordPress version, and checking for this plugin wp-zexit.php. It might be wise to inspect via FTP if it doesn’t appear in the WordPress -> Plugins. Additionally, using Wordfence to scan the website and remove unknown users would be prudent.
Change admin passwords and delete admin accounts you are not familiar with;
– Delete any weird/unknown plugins;
– Delete the weird/unknown themes;
– Clean unfamiliar Theme Panel injected code (example – https://i.imgur.com/4q70kCv.png);
– Clean WordPress files (example – https://i.imgur.com/stJCqiK.png)
Please block /wp-json/tdw/save_css
If an attacker wants to target this URL /wp-json/tdw/save_css they can do so. Even if the website uses a different theme, the attacker can still try that URL. We could add an option to be able to enable/disable the Live CSS, it will be considered. But for now in order to remove it this can only be done with a modification to the composer plugin. I think that all that removing it requires is to comment this line of code – https://prnt.sc/RtwvL5Nc4ikR -> https://prnt.sc/ymZmhdUfp57U But as I mentioned, the attacker can still try to access the URL.

Thank you!

novatechset
tagDiv Member

I had installed on my local machine. So you cannot access admin.
What might be the issue? What is the api that is executing while click on activate button?
May be our firewall is blocking that. If you can tell me the api call link I can try allowing it. Thanks

Calin
tagDiv Staff

Hi Alex,
I just received a reply from a developer, he stated that this most likely happens due to the fact that the disable lazyload option is used on the first image. What he suggested is to check if the situation happens only for that block or also for the rest and if it also happens on the mobile or only on the desktop, and if the situation is only ep that block then 99% is because of that option.
Thank you!

Alex
tagDiv Member

Hi Calin,

In 12.6.7 your devs fixed this issue with webp on loop blocks, which is good.

But this issue with Webp and Caching is not fixed.

– You previously said you were only able to replicate it once.

To easily replicate it – logout of your dev site and in a few minutes inspect the html with image that is meant to load webp. It will ignore webp and show jpg/png or whatever is used..

Also if you run it through https://pagespeed.web.dev/ the error “Serve images in next-gen formats” will be reported as the url of the shown image is not webp.

Thank you.

Anamaria
tagDiv Staff

Hello,

You can set a featured image for each post here https://forum.tagdiv.com/featured-image-or-video-7/
So if the posts don’t have the featured image, then they will display a blank thumb; you can set a placeholder.
You can set a Placeholder in Theme Panel -> Blocks Settings -> https://i.imgur.com/mo0Cbu2.png

Thank you!

Anamaria
tagDiv Staff

Hello,

You can use this option https://forum.tagdiv.com/use-tabbed-content-shortcode/ it’s not like your example, but you can try it.
The tabbed content works with pages, so please check the documentation.
You can add in the page flex block and filter them as you want https://i.imgur.com/2kkw68K.png

Thank you!

Anamaria
tagDiv Staff

Hello,

To increase page speed, I recommend checking which thumbnails you are using on your blocks. You might want to avoid having all of them enabled and optimize and regenerate images. You can use the EWWW Image Optimizer for image optimisation, and the OMGF plugin for fonts. Additionally, you can use the WP Rocket plugin.
here are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/

https://forum.tagdiv.com/cache-plugin-install-and-configure/
https://forum.tagdiv.com/how-to-make-the-site-faster/
https://forum.tagdiv.com/topic/high-number-of-ajax-request/
https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
https://www.andraware.com/wp-rocket-for-newspaper-theme/
https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
https://forum.tagdiv.com/cloudflare-cdn/
https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
https://forum.tagdiv.com/topic/sql-querys-high-cpu/
https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
https://underconstructionpage.com/optimize-wordpress-database/
https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/

Thank you!

danna
tagDiv Member

Hello,
thanks for getting back. I know the filters. But is there a Block that has this tab function like here: https://raiffeisenzeitung.at/der-traum-vom-einfamilienhaus/
All the best,
Daniel

Anamaria
tagDiv Staff

Hello,

I recommend to use the flex block builder https://forum.tagdiv.com/flex-block-builder-flex-loop-builder/ and create a module -> https://forum.tagdiv.com/modules-builder-newspaper-theme/ here you can add the post view and comment count.

Thank you!

Anamaria
tagDiv Staff

Hello,

1. Yes, you need to duplicate the page.
2. Please let me know what code you have added there. You can also, duplicate the template and the code it will remain.
3. Please let me know on what templates you can to display posts from a specific category. There a lot of filter options, you can check this guide -> https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

Saniya
tagDiv Member

Hello Vlad,

On the single post page, the view count and comment count are displayed properly(image 1). I want to implement similar functionality on post grids, such as Flex Block or Big Grid Post.

Is this functionality available out of the box? If not, could you please guide me on how to achieve this using code?

Thank you for your assistance.

Image 1 (View Count and Comment count in single post page): https://postimg.cc/Fd1FVWMq

Image 2 (This is the place where I want to show the view count and comment count)- https://postimg.cc/8fjHDSqH

  • This reply was modified 1 year by Saniya.
ldbdubn
tagDiv Member

Hi,

After changing the PHP version to 8.0 I have receieved this error after trying to read any of my articles on the website:

Fatal error: Uncaught ValueError: Unknown format specifier “�” in /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-cloud-library/parts/tdb-comments.php:177 Stack trace: #0 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-cloud-library/parts/tdb-comments.php(177): sprintf() #1 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/comment-template.php(1623): require(‘…’) #2 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php(1969): comments_template() #3 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_comments.php(470): tdb_state_single->{closure}() #4 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_comments.php(470): Closure->__invoke() #5 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdb_single_comments->render() #6 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #7 [internal function]: do_shortcode_tag() #8 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #9 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/includes/tdc_composer_block.php(220): do_shortcode() #10 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php(440): tdc_composer_block->do_shortcode() #11 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_column->render() #12 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #13 [internal function]: do_shortcode_tag() #14 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #15 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/includes/tdc_composer_block.php(220): do_shortcode() #16 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php(1187): tdc_composer_block->do_shortcode() #17 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_row->render() #18 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #19 [internal function]: do_shortcode_tag() #20 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #21 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/includes/tdc_composer_block.php(220): do_shortcode() #22 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/includes/shortcodes/tdc_zone.php(771): tdc_composer_block->do_shortcode() #23 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdc_zone->render() #24 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(434): td_global_blocks::proxy_function() #25 [internal function]: do_shortcode_tag() #26 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #27 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/class-wp-hook.php(324): do_shortcode() #28 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #29 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_single.php(139): apply_filters() #30 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-includes/template-loader.php(106): include(‘…’) #31 /home/vinkoch/domains/bijeljinalive.com/public_html/wp-blog-header.php(19): require_once(‘…’) #32 /home/vinkoch/domains/bijeljinalive.com/public_html/index.php(17): require(‘…’) #33 {main} thrown in /home/vinkoch/domains/bijeljinalive.com/public_html/wp-content/plugins/td-cloud-library/parts/tdb-comments.php on line 177

I’ve switched back to the version 7.4.33.

Do you have any other suggestion?

Thank you and best regards,
Stevan

Anamaria
tagDiv Staff

Hello,

Unfortunately, I don’t quite understand what the problem is. Please send me more detailed screenshots of the error and provide more information about the issue.
Please check the block with “No posts” and delete it the offset number; leave it empty with no space or value: https://app.screencast.com/Gh9jDf6t0XtLS
Also, make sure that you have used this element for embedding the video https://i.imgur.com/dPj835J.png and use a YouTube API -> https://forum.tagdiv.com/youtube-api-key/

Thank you!

Anamaria
tagDiv Staff

Hello,

We have some filters like this. For example, add a flex block in a post template, 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. Those special filters will work as expected https://forum.tagdiv.com/flex-block-settings-guide/

Thank you!

danna
Participant
#0

Hello,
Is there a “Related” block that looks like the standard block? With a tab “More from the author”?
All the best,
Daniel

Viewing 25 results - 2,176 through 2,200 (of 39,816 total)