Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

javascript

Home/ javascript/Page 51

How to pass/get data to/from the WooCommerce data-product_variations object?

Question
What is the best way to pass/get data to/from the data-product_variations attr form in Product Single pages. I am working on some interactions with the product gallery images and the product variations, all of these while using WooCommerce. Basically, I need to be able to tri
0
filters, hooks, javascript, woocommerce ameraz 6 years 0 Answers 101 views

How to delay display of page elements until enqueued script has injected html

Question
I am enqueuing some javascript that injects SVGs into my page's DOM (called SVGInjector); it works great except for one thing: there is an undesirable "blink"/shift of elements on my screen where the injected elements
0
html, javascript, svg, wp-enqueue-script CoderScissorhands 6 years 0 Answers 64 views

how to get permalink

Question
Can anyone please help me? please see the screenshot. it is a JS file. here I want t
0
javascript, jquery, permalinks Shakib Hasan 6 years 0 Answers 63 views

how to en-queue jQuery to load before the tag

Question
I've enqueued all my scripts on function.php to load before the tag by passing 'true' to the fifth argument. It does works for all of them BUT jquery, any idea what I'm doing wrong? wp_enqueue_script('jquery','','','',true); wp_enqueue_script('modernizr', 'http://cdnjs.cloudflare
0
functions, javascript, jquery, wp-enqueue-script Ana 6 years 0 Answers 75 views

Redirect sub-page URLs to parent without changing URL

Question
I am having an issue with redirect rules for a single-page app that is on a sub-page of a Wordpress site. I have followed this set of instructions pretty directly and am still having issues:
0
custom-post-types, javascript, redirect, routing Jeff 6 years 0 Answers 106 views

accessing wp.media api from a tinymce plugin

Question
I'm trying to create a tinymce plugin that generates a shortcode containing two image ids: [image-fade old="xx" new="yy"] I would like to let users select images directly from the media selector frame, but haven't figured out how to do this. I am able to allow t
0
javascript, plugins, shortcode, tinymce Matt 7 years 0 Answers 92 views

JQuery and Javascript to pan image

Question
I am trying to implement a panning effect on an image, by following this tutorial. However, it's not working and I think it may be due to the
0
javascript, jquery user25976 7 years 0 Answers 64 views

Is there a better way to access transients using javascript

Question
I've been searching around the web trying to find a better way to use WordPress transients with javascript. Currently I am using admin-Ajax to run a php function that retrieves the transient and returns it. This works fine but I'm curios to know if there is a more effective way of accessing that
0
ajax, javascript, transient, wp-localize-script Josh w 7 years 0 Answers 70 views

Is there a way to enable Cross-Origin Resource Sharing for WordPress’ ajaxurl?

Question
WordPress already has a default URL for jQuery-WordPress application calls and it's well known as the ajaxurl. However, there are cases wherein one would need to enable Cross-Origin Resource Sharing (CORS) on it such that any hostname will be able to access using it.
0
headers, javascript, jquery Abel Melquiades Callejo 7 years 0 Answers 49 views

Trouble with WordPress Ajax Login System – 302

Question
I'm trying to create a simple Ajax Login system with Wordpress. Unfortunately, every time the "wp_signon" function is fired, my system failed and the only information I have is this one : POST myurl/wp-admin/admin-ajax.php - 302 Found GET myurl/?login = failed - 200 Found
0
ajax, javascript, jquery, login Lancelot 8 years 0 Answers 101 views
1 … 50 51 52
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • 404 error - Page not

    ...

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.