-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wordpress not working #360
Comments
Did you try this code while being logged in? I'm asking because WP adds a few "helpers" to JS which might interfere, esp. with the smoothscroll part. Also, whenever working with WP, I prefer to use the normal form of jQuery (ie. "jQuery" instead of the "$" short form), to avoid further issues. cu, w0lf. |
Hey,
The Ajax is the part not working. Sorry should have specified that in that
posting.
The theme is a custom theme so there isn’t anything else going on there. I
only have ACF and CPT as my plugins.
I already added the $ variable to my js files so that’s not the issue as
I’ve already tested it both ways.
The pages are fully refreshing rather than pre loading with Ajax.
On Wed, Apr 25, 2018 at 10:10 PM Fabian Wolf ***@***.***> wrote:
Did you try this code while being logged in? I'm asking because WP adds a
few "helpers" to JS which might interfere, esp. with the smoothscroll part.
Eg. when clicking on the admin bar, WP executes a smooth scroll up to the
top - so these events might overlap and cancel out each other.
Further issues could arise from JS code supplied by the currently used
theme, and maybe also thanks to the strongly dated version of jQuery in use
even in the most current WordPress versions.
Also, whenever working with WP, I prefer to use the normal form of jQuery
(ie. "jQuery" instead of the "$" short form), to avoid further issues.
cu, w0lf.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#360 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALd2MWtHxCanQXFaIwnerTVk4UdU5CQrks5tsIPGgaJpZM4TfrRw>
.
--
Katrina Bell
front-end developer
T 604 728 2558 <http://www.katrinabell.com/>
|
I'm having the same issue. No errors in the console and no other scripts (other than the core WP scripts) are present. |
@tobiasger With what theme? When I tested it out with a classic _s-based theme, everything worked fine. But I wouldnt vouch for some kind of premium theme, which tend to be overloaded with excessive JS clutter .. cu, w0lf. |
It’s a custom theme built from underscores. with extremely minimal js.
On Mon, Jun 18, 2018 at 8:21 AM Fabian Wolf ***@***.***> wrote:
@tobiasger <https://github.com/tobiasger> With what theme? When I tested
it out with a classic _s-based theme, everything worked fine. But I wouldnt
vouch for some kind of premium theme, which tend to be overloaded with
excessive JS clutter ..
cu, w0lf.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#360 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALd2MVBPn0yBd-mCSu2Z9OvPiGjPVBHlks5t98WTgaJpZM4TfrRw>
.
--
Katrina Bell
front-end developer
T 604 728 2558 <http://www.katrinabell.com/>
|
same issue. |
Hello all, Late to the party, but I'm having issues with X Theme Pro by Themeco. The page loads fine, but no animation and no CSS are loaded on the page. Styling only loads if the page has been previously visited (refresh or URL). I think the theme's scripts are not being loaded, but not sure what I can do to fix it. Since SmoothState requires adding a container after body, I tried to apply X Theme's default If anyone can shed some light on this or point me in the right direction, that'd be great. Thank you! |
Not integrating properly with wordpress, the functions aren't even firing at all. I need to have the current content slide to the left as the new content slides from the right. But it isn't even reloading my pages with Ajax. Working with wordpress.
This is my code:
Can someone help please?? Or suggest another plugin to add page transitions.
The text was updated successfully, but these errors were encountered: