kiko0850
Forum Replies Created
-
Hi Matthias,
I attached a video of the issue here. Let me know if you need further information. https://www.loom.com/share/9985dc48be18443d801104954b77fac0
Thank you
Forum: Plugins
In reply to: Caldera Forms: Where to put the code of Javascript callback function?The only place I was able to put the callback function and for it to work correctly was within the form itself. In the form creator you would add an html field and put your <script></script> in the content area. I tried putting it in the header of the template and in javascript files and they did not trigger. Let me know if this works, I couldn’t really find anywhere that had this information so it was just a test on my part.
Jan,
It’s at Yeewiz.com i have reverted my change and turned on debug mode for you.
Thanks!
kiko
Jan,
Thanks for the quick response the version of jquery i have is 1.7.2
Thanks!
Kiko
Forum: Plugins
In reply to: Adding page template via pluginIt might be late but, wp_insert_post works for me the only part that I wasn’t able to get to work is assigning the template file as well using update_metadata.
I found a work around online though https://wordpress.stackexchange.com/questions/3396/create-custom-page-templates-with-plugins, it’s based on when a page is served up if it has the condition specified then it will return your own custom template instead of it’s original template. Obviously this will not show the template’s filename when you edit the page/post and you won’t be able to change that page’s template file. So this will be a good idea if you don’t want users to ever change the way it looks, but it could also frustrate the user as to why their assigned template isn’t working.
Also another way is where when you activate your plugin to just copy your template files from your template folder within your plugins folder over to the currently activated theme if that file doesn’t exist and also update the metadata to the filename. In theory that should work as well (looked at them Shopp plugin and that’s the way they implemented adding their templates to the current theme)
UPDATE: I did implement it the Shopp way and it works like a charm
??Something I ran into today, I had comments supported, but it still wasn’t showing the Disqus comment box, it said comment was closed. I found out that if on your list of posts if you do a quick edit you will see the allow comments box. Most of mine were turned off so checking it made the Disqus comment box turn back on. Just an FYI if someone runs into this same problem.
^.^v
Forum: Fixing WordPress
In reply to: [Plugin: Wp-e-commerce] Pagination for products not workingI had this problem also, all i had to do was change my custom permalink to /%category%/ and that fixed my error with the pagination not going to the correct place