tippers
Forum Replies Created
-
Forum: Plugins
In reply to: [WPtouch - Make your WordPress Website Mobile-Friendly] Custom page templatesI had to add the following to my child theme functions.php
function wpse_enqueue_page_template_styles() { if ( is_page_template( 'mytemplate.php' )) { wp_enqueue_style( 'page-template', get_stylesheet_directory_uri() . '/mystyle.css' ); } } add_action( 'wp_enqueue_scripts', 'wpse_enqueue_page_template_styles' );So I then added the same code to the functions.php in /wp-content/plugins/wptouch/themes/bauhaus/default. Initially it couldn’t find mystyle.css (404) so I added a symlink for mystyle.css but it then complained that it didn’t have permission (403) – which it did. The workaround was remove the symlink and to copy the css file in to the bauhaus/default directory.
Forum: Plugins
In reply to: [WPtouch - Make your WordPress Website Mobile-Friendly] Custom page templatesPerfect, thank you. I think I’d previously copied the php files into the wptouch-data directory so thank you for pointing me to the right place and using symlinks is much better.
One further question, in the page template php file, I have a link to a custom css file in my child theme directory. When I view the page from a mobile, the css file isn’t loaded and styling isn’t applied. Any ideas please?
Hi @zhannak,
Ah yes it appears the plugin is version 2.7.20 but no updates have been offered. How do I update the Pro version please?
Hi @zhannak,
Thanks for your reply.
I’m not a JS expert but I think the jQuery errors are coming from the plugin files (from examining the source of the page).
There are a couple of errors regarding mixed content sources but I think these are unrelated.The word verification works in form maker in the WP admin console but not when displayed on the website.
Forum: Plugins
In reply to: [BackUpWordPress] Restore to new siteHi Owain,
Thanks for your reply.
I thought so (see my original post) but can you just check the command I stated above to restore the .sql file into the newly created database?
Regards
TippersForum: Plugins
In reply to: [BackUpWordPress] Restore to new siteBump. Any chance of a further reply?
Forum: Plugins
In reply to: [BackUpWordPress] Restore to new siteThanks, I read that article but under “Restore your Database” it states that it will overwrite your old tables which I don’t want to do.
Instead I want to create a new database to restore the tables to for the new test site.