Search Results for 'github'

Results from the Forum
uxengineer
tagDiv Member

I added this ACF Pro accordion demo plugin: https://wpengine.com/builders/accordion-block-acf-fields/

from their Github repo: https://github.com/colorful-tones/acf-accordion-block

I don’t see it available in Newspaper tagDiv Composer blocks for a CPT taxonomy template. Is there a way to add a custom plugin there (and not just via a shortcoode)?

khnalsaroj083
Participant
#0

Hi team,

I’m using the Nepali Date Converter plugin to display post dates in the Nepali calendar. The plugin works by hooking into default WordPress filters like get_the_date (example: Line 613).

However, it seems the NewsPaper theme uses custom date output functions instead of WordPress core functions like get_the_date() or the_date(). Because of this, the plugin’s filters do not apply, and the date is not converted to Nepali.

I would really appreciate it if you could provide a solution or workaround so that the theme’s post date output is compatible with plugins that use WordPress’s default filters. For example:

A way to allow fallback to get_the_date() if no special formatting is applied.

A hook or filter where we can tap into the theme’s date output and apply conversions.

Or any suggested method to ensure compatibility without modifying core theme files directly.

Looking forward to your guidance on making this work with the theme.

plugin code link: https://github.com/codersantosh/nepali-date-converter/blob/main/inc/class/ndc-post-date.php#L613

Thank you!

petar777
tagDiv Member

Hey,

I am sharing you my WP Rocket settings and I think they might be useful for you:

ON THE FILE OPTIMISATION TAB
1. Activate Minify CSS Files
2. Optimise CSS Delivery > Remove unused CSS with these exclusions:
(.*).tagdiv-type(.*)
(.*).bhcrow-(.*)
3. Minify Javascript Files
4. Load Javascript Defered with these exclusions:
\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js
5. Delay Javascript Execution with these exclusions:
\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |’|”|>)
tagdiv_theme.min.js
tdTrendingNow.js
tdPopupModal.js
tdBlocksArray
hammer.min.js
tdbMenu.js
tdLoadingBox.js
tdb_p_autoload_vars
blockClass
tdAjaxCount.js
tdTabbedContent.js
tdStickyRow.js
tdSmartSidebar.js
OneSignalSDK

Important – delaying Javascript will make your ads load after any movement on the page so if you just reload the page they will not be loaded as soon as you move anything on the page it will load them immediately. For me this isn’t a problem.

ON THE MEDIA TAB
1. Activate Enable for images
2. Activate Enable CSS for background images
3. Exclude your logo
4. Activate Add missing file dimensions
5. Activate self host fonts

ON THE PRELOAD TAB:
1. Activate preload
2. Enable link preloading
3. Prefetch these:
//fonts.googleapis.com
//www.googletagmanager.com
//www.googletagservices.com
//tpc.googlesyndication.com
//use.typekit.net
//netdna.bootstrapcdn.com
//www.google-analytics.com
//ajax.googleapis.com
4. Preload fonts – /wp-content/themes/Newspaper/images/icons/newspaper.woff

ON THE DATABASE TAB
Enable everything without scheduling auto cleanup

ON THE HEARTBEAT TAB
Enable it and make everything reduced

Important – if you are self hosting your site on nginx you can enable this https://github.com/SatelliteWP/rocket-nginx – this enables Nginx to serve directly previously cached files without calling WordPress or any PHP

Important – if you are self hosting your site on nginx you can enable FastCGI and Redis (use redis cache plugin and nginx helper). When it comes to FastCGI MAKE SURE TO ENABLE SEPARATE CACHE FOR MOBILE AND DESKTOP OTHERWISE IT WILL WORK BADLY!

Important – if you have a large installation and you notice that your queries become slow (e.g. search page takes a lot of time to load or non-cached pages load for more than 1-2 seconds) you can buy Scalability Pro and Super Speedy Search from here https://www.superspeedyplugins.com/shop/ for me this plugins changed the way the theme worked immensely. My non-cached pages loading time dropped form 10 seconds down to 1-2 seconds.

Important – WPRocket offers a plugin that converts all your images to webp format and this is also crucial for your page speed. Their plugin works well for my site.

I hope this is useful for you!

  • This reply was modified 1 year by petar777.
  • This reply was modified 1 year by petar777.
Bettina
tagDiv Staff

Hello!

Unfortunately, we do not have any option in the theme to do that.
Check this: https://kenwheeler.github.io/slick/

I hope that helps you!

Thank you!

Bettina
tagDiv Staff

Hello!

No. And I do not recommend any extra plugins. Check this method: https://kenwheeler.github.io/slick/

I hope that helps you!

If you can’t achieve what you need, then the custom work team can help you.
For customization and other services, contact our custom work team here: https://tagdiv.com/premium-customization-services/.

Thank you so much for your understanding!

Anamaria
tagDiv Staff
Satish Anand
tagDiv Member

Hi,

We got this error in browser console please check


jquery-migrate.min.js?ver=3.4.0:2 JQMIGRATE: Migrate is installed, version 3.4.0
js_files_for_wp_admi…d172c7d9de6043b:236 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
js_files_for_wp_admi…d172c7d9de6043b:236 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
js_files_vue_modals.…7b181e37c1c9e0e:208 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
js_files_vue_modals.…7b181e37c1c9e0e:208 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
js_files_vue_cloud_t…27b181e37c1c9e0e:23 getCloudTemplates reply:
Object
a_404
:
(…)
attachment
:
(…)
author
:
(…)
category
:
(…)
date
:
(…)
footer
:
(…)
header
:
(…)
homepage
:
(…)
page
:
(…)
search
:
(…)
single
:
(…)
tag
:
(…)
__ob__
:
Ub {value: {…}, dep: da, vmCount: 0}
get a_404
:
ƒ ()
set a_404
:
ƒ (g)
get attachment
:
ƒ ()
set attachment
:
ƒ (g)
get author
:
ƒ ()
set author
:
ƒ (g)
get category
:
ƒ ()
set category
:
ƒ (g)
get date
:
ƒ ()
set date
:
ƒ (g)
get footer
:
ƒ ()
set footer
:
ƒ (g)
get header
:
ƒ ()
set header
:
ƒ (g)
get homepage
:
ƒ ()
set homepage
:
ƒ (g)
get page
:
ƒ ()
set page
:
ƒ (g)
get search
:
ƒ ()
set search
:
ƒ (g)
get single
:
ƒ ()
set single
:
ƒ (g)
get tag
:
ƒ ()
set tag
:
ƒ (g)
[[Prototype]]
:
Object


Thanks

Bettina
tagDiv Staff

Hello!

Unfortunately, we didn’t encounter any issues. However, I encourage you to use a slick slider, such as https://kenwheeler.github.io/slick/.

I hope that helps you!

Thank you!

simchris
tagDiv Member

not theme related…
SCF is direct replacement for ACF free. Works the same. patches issues with ACF FREE.

it is not related to ACF PRO.

to get latest ACF go here to manually update
https://github.com/AdvancedCustomFields/acf/releases/tag/6.3.8

Part of the falling out between WordPress and WpEngine

Bettina
tagDiv Staff

Hello!

Yes. Because it works only on a post or CPT. The second option is for the ACF PRO plugin. 
If you need a slide for your posts, then simply use the “Slide” shortcode from the tagdiv Composer.
Otherwise, if you need a slide with images, then try to do it with some custom code: https://kenwheeler.github.io/slick/

Thank you!

happypeoplepickleball
tagDiv Member

I went to this location:
https://github.com/woocommerce/woocommerce/tree/8.7.0/plugins/woocommerce/templates

and saved down the php files with the same names located in the woo template files. But I don’t want to mess anything up and I don’t know where to add these files on the woo side.

Help! Thanks!

youthost
Participant
#0

Specific from the beginning that is not a problem of server/cache or plugin conflict, the same problems are present on your demos shop for example https://demo.tagdiv.com/newspaper_shop_audio/

When the quantity of the product is changed in the cart and then pressed the “Update Cart” button, or when a product is deleted from the cart by pressing the X, the ‘Woo Menu Cart’ does not update, this is important and could confuse customers.
This also happens when there is a product in the cart and press on the product (product detail / product page), sometimes resulting in the Woo Menu cart ’empty or differently updated, this also is important and could confuse customers.
I believe that everything derives from the failure to update something at the time of the actions: “Update Cart” Button, Delete Cart Item, etc.
This thing I think everyone is interested.
Here they talk about something similar that could help you in the solution:
https://github.com/woocommerce/woocommerce/issues/11064
Here also some IMG from your demo site
https://drive.google.com/file/d/1rzSssUVU_Bwrl9FOo-5OPYLIuaweVrtq/view?usp=sharing
The cart reports items even if empty, even if you update the page.
https://drive.google.com/file/d/10UMsBmTIQuIAHAsZI4vXROgr2r1ml0qx/view?usp=sharing
The cart reports the previous quantity even if the ‘Update Chart’ button has pressed, even if you update the page.
https://drive.google.com/file/d/1HQtBeLFAHD5wccaPR5rOfJi4lHmBENap/view?usp=sharing
https://drive.google.com/file/d/1IwxFgly8VOZAIXUqw8rSiCUvmzJjR0MR/view?usp=sharing
Going in detail of the product the Woo Menu chart displays the data of the previous product, even if you update the page.
NOTE: People cannot encounter these problems in the purchase of products on any operational site.

FrancescoStati
tagDiv Member

Every Woo/TagDiv plug in is activated, I have tried following the instructions and the template is now updated, the cart is still stuck on loading though.

Calin
tagDiv Staff

Hi,
I think it can be use something like this – https://gist.github.com/vielhuber/6e755cdeeaf14f3abbbaebc7d5308b78
On the line “SetEnvIf Request_URI “^/wp-json/” allow_path” you can replace it with the one that appears in console.
I hope this will help a bit!

simchris
tagDiv Member

Better solution if getting cURL bug breaking things:
This appears to be the temporary fix:
https://github.com/WordPress/Requests/issues/838
download the zip to replace:
To fix the issue, replace /wp-includes/Requests/src/Transport/Curl.php with the following file: Curl.php.zip or see #838 (comment)

simchris
tagDiv Member

Note, if you’re having the cURL bug in WP 6.4, you can rollback to 6.3.2 using plugins that do that; or you can replace a core file
To fix the issue, replace /wp-includes/Requests/src/Transport/Curl.php with the following file: Curl.php.zip or see #838 (comment)
https://github.com/WordPress/Requests/issues/838

simchris
Participant
#0

This appears to be the temporary fix:
https://github.com/WordPress/Requests/issues/838
download the zip to replace:
To fix the issue, replace /wp-includes/Requests/src/Transport/Curl.php with the following file: Curl.php.zip or see #838 (comment)

Calin
tagDiv Staff

Hi,
I understand, what it can be done in this situation is to remove the breadcrumbs from Yoast SEO, for this it can be used this guide –
Yoast-provided filter for disabling Yoast breadcrumb schema output not working properly
Schema – API documentation
I hope this will help you!

ThrustMedia
Participant
#0

Hello,

I am attempting to run ads on my website and on Facebook with my newspaper theme and I received this message from facebook to update my tagdiv app ID 655262539482249

Update the Facebook SDK for iOS
Using Cocoapods
If your app integrates with the Facebook SDK for iOS using Cocoapods, follow these steps.

1. Add the code to the podfile for the packages that are used in your app.

Example:

pod ‘FBSDKCoreKit’, ‘~> 8.0.0’
pod ‘FBSDKLoginKit’, ‘~> 8.0.0’
pod ‘FBSDKShareKit’, ‘~> 8.0.0’
pod ‘FBSDKGamingServiceKit’, ‘~> 8.0.0’
2. Run pod update.
Using Swift Package Manager (SPM)
If your app uses SPM to integrate with the Facebook SDK for iOS, follow these steps.

1. In Xcode, click File > Swift Packages > Add Package Dependency.

2. In Package Repository, enter the repository URL: https://github.com/facebook/facebook-ios-sdk.

3. In Version, select Up to Next Major and the default option.

4. Complete the prompts to select the libraries you want to use in your project.

Their instructions are foreign to me. How do I go about updating this information on the website and mobile site?

Thank you for your guidance.

Aleksey Petrov
tagDiv Member

Thank you.
It would be great if the module could be improved.
Here is another example of implementing a quick download from YouTube, from the same topic, for your programmers:
https://paulirish.github.io/lite-youtube-embed/
Thanks for the feedback and good luck with the development!

mita
Participant
#0

Hi there,

We are running an updated setup with WooCommerce enabled and have started to see that tagdiv editor gets stuck when saving. The save spinner stays on and there are some console errors.

See this screenshot for more context:
https://drive.google.com/file/d/1vgrLwkYTi9hn4hvZcEE9kyxhFG0LA_u7/view?usp=sharing

The page actually saves but we need to refresh the page every time before doing another save.

The xhr requests get cancelled at 10 seconds (or 9.6 seconds some times). I looked through the source code and there is a timeout for xhr requests at 10 seconds here:
https://github.com/krisfk/puerfons/blob/f85753718f312874536c4892077de782e8890aba/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/js/tagdiv-theme-plugins-setup.js – line 252.

I tried increasing that limit but had no luck.

Is there any feedback you can provide regarding this issue?

Thanks

Viewing 25 results - 1 through 25 (of 336 total)