Viljami Kuosmanen
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress PDF Templates] Stylesheet and images not loading pdf viewAre you perhaps running in a local environment? Can the server see itself via the domain name you’re using?
Forum: Plugins
In reply to: [WordPress PDF Templates] Error class not foundSounds like you’ve got a broken version of the plugin installed somehow. Did you install it from github and forget to run composer install perhaps?
Forum: Plugins
In reply to: [WordPress PDF Templates] No PDF generation on Safari browsers.I’m afraid this is a browser issue, not a plugin issue. Nothing I can do to help. 🙁
Forum: Networking WordPress
In reply to: Business Card creatorAbsolutely!
You might want to look into the multisite cloner plugin https://wordpress.org/plugins/multisite-cloner/ which allows you to make a copy of an existing site at will.
To customise what happens when you click “create new site”, there are a number of things you can do when creating a new multisite installation by hooking into the
wpmu_new_blogaction hook.See: https://codex.wordpress.org/Plugin_API/Action_Reference/wpmu_new_blog
To edit the “Create new site screen”, unfortunately you’re going to have to resort to a bit hacking via jquery or something similar with the admin_footer hook. Here’s an example of adding a field to the screen:
/** * Add a card size selection for the site-new.php screen */ add_action( "admin_footer-site-new.php", 'my_custom_wpmu_field' ); function my_custom_wpmu_field() { ?> <script> (function($) { $(document).ready(function() { $('<tr class="form-field form-required"></tr>').append( $('<th scope="row">Card Size</th>') ).append( $('<td></td>').append( $('<input type="text" name="size">') ) ).insertAfter('#wpbody-content table tr:eq(2)'); }); })(jQuery); </script> <?php }Hope that was helpful!
- This reply was modified 9 years, 6 months ago by Viljami Kuosmanen.
- This reply was modified 9 years, 6 months ago by Viljami Kuosmanen.
Forum: Fixing WordPress
In reply to: Baffling rewrite issueCould also be a database replication issue with your hosting where your production database wp_options table isn’t being properly replicated. I would advice you to ask your hosting company about any caching / replication type implementations they might have that could affect the production environment.
Forum: Fixing WordPress
In reply to: Baffling rewrite issueMy first guess is an object cache messing up your rules. Can you disable any caches (rename the object-cache.php file under wp-content if it exists) to see if that helps with this issue?
Also, are you using wp-cli to flush the rewrite rules?
Another thing that comes to my mind is a too clever for its own good kind of plugin doing its rewrite rules dynamically by looking at $_SERVER values or something which wouldn’t be properly populated when running in CLI mode.
Forum: Fixing WordPress
In reply to: Error\bug in wp? Fatal error class not foundHi @lenechk!
It looks like your events-calendar plugin install is faulty and needs to be reinstalled.
If you have access to your files via SSH/SFTP/FTP, you can fix this issue by deleting the events-calendar plugin from your wp-content/plugins directory and reinstalling it from scratch.
If you don’t have access to your server, you can ask your web host to do this for you.
You can also check the support forums for the events calendar plugin for further assistance with debugging plugin specific issues:
https://wordpress.org/support/plugin/the-events-calendar
Cheers!
Forum: Fixing WordPress
In reply to: WooCommerce Customer Email not workingFor further help with your issue, I recommend asking at https://wordpress.org/support/plugin/woocommerce so the plugin’s/theme’s developers and support community can help you with this.
Cheers!
Forum: Fixing WordPress
In reply to: WooCommerce Customer Email not workingHi @damonkilbride !
Can you enable the php mail log to see if the
mail()function is being invoked at all? You can enable it by adding this line to your wp-config.php, or editing you php.ini file like you would normally.<?php ini_set( 'mail.log', '/var/log/php-mail.log' );To resend the “Order Processed” email with WooCommerce, click on the Order to edit it and click “Complete Order” in the “Order Actions” menu.

Also, make sure you check your WooCommerce Email settings for the “Order Completed” email.
Forum: Plugins
In reply to: [WP Native Dashboard] PHP 7 deprecated constructorsSomebody just forked this plugin and made sure it works on PHP7.
https://github.com/redandbluefi/wp-native-dashboard
Man I wish someone could update this upstream from the fork.
Forum: Plugins
In reply to: [WordPress PDF Templates] Cache pdfYes. 🙂 That’s exactly what happens by default.
Forum: Plugins
In reply to: [WordPress PDF Templates] Create pdf of archive page and custom taxonomySure. Just add archive-{post-type}-pdf.php or taxonomy-{taxonomy}-pdf.php files and it should work just fine, as long as pdf for the post type in question is enabled.
Forum: Plugins
In reply to: [WordPress PDF Templates] PDF blank pageThe issue is with your hosting environment. It has either disabled file_get_contents or can’t get access to localhost.
Forum: Plugins
In reply to: [WordPress PDF Templates] Blank Pdf Page GenerateThis is a duplicate of https://wordpress.org/support/topic/pdf-blank-page?replies=14
Forum: Plugins
In reply to: [WordPress PDF Templates] Blank PDF Page & Warning: file_get_contents