twicealive
Forum Replies Created
-
Forum: Plugins
In reply to: [Code Snippets] eval()’d code errorThanks Shea
I found a table in an old site where the plugin was not active; then the error was easy to locate. Since I fixed my code issue, everything is working fine.
Your plugin evaluates all code snippets whether they are active or not, even if the plugin is not activated for a site, and even if it is disabled via the wp-config file.
I like it.
I’ve been doing it like this:
#wpadminbar .quicklinks li .blavatar:before { content: '\f487'; height: 16px; width: 16px; display: inline-block; margin: 6px 8px 0 -2px; }
Thank you,
MichaelForum: Hacks
In reply to: Do you know how to get the SubDomain name for the current site?Okay, I understand it now.
Thanks for your help.
Michael
Forum: Hacks
In reply to: Do you know how to get the SubDomain name for the current site?Great! Thank you.
I created this method, is there a better way?
$string = esc_url( home_url( '/' )); $patterns = array(); $patterns[0] = '/http:\/\//'; $patterns[1] = '/.mysite.com\//'; $replacements = array(); $replacements[1] = ''; $replacements[0] = ''; echo preg_replace($patterns, $replacements, $string);
Also, how would I return the result in a shortcode?
Forum: Networking WordPress
In reply to: Best way to group sites with multisite (using sub-domains)?The easiest way might be to use a plugin like this one:
https://premium.wpmudev.org/project/multi-domains/
to define each of your subdomains.You’ll need to create an A record for each subdomain and point it at the IP address of your wp installation.
Then when creating a new site, choose which subdomain you want to create the site on.
Michael
Hello,
RE: woocomerce subscription
You can set the “sign-up fee” as the price the users will pay to first buy one of your products, and set the “free trial” with the amount of time that you want to wait before charging the first monthly subscription fee.
This method allows to to collect an initial payment for a product, then later automatically begin collecting a recurring fee for that same product, as part of the original transaction.
Best Regards,
MichaelForum: Fixing WordPress
In reply to: How to center menu in ayoshop theme??Hi
I see you didn’t get any reply to this post…
Did you ever get ayoshop to work for you?
I found your post as I was looking for newer version of ayoshop, I have v1.1 but the theme’s author appears to have gone out of business and I can’t find the updates.
If you still need help, please let me know and I’ll answer asap.
Forum: Plugins
In reply to: [WP Advanced Importer] Blank ScreenI have v2.0.1
The result is the same: a blank white screen.
And nothing in the error logForum: Plugins
In reply to: [WP Advanced Importer] Blank ScreenI don’t see any error codes posted in the error logs.
When I activate the WP Advanced Importer Plugin, a new menu item is added in the admin area with this link: admin.php?page=wp-advanced-importer/index.php
When I click the menu item, I am taken to: admin.php?page=wp-advanced-importer/index.php&__module=importtype&step=uploadfile
When the page loads, the normal wp admin menu continues to appear as usual, however the body of the admin page is a white background with nothing else appearing.
Does anyone know what is the best way to test for “Has NO Membership Level”?
Thanks,
MichaelThe plugin lets you update existing users, allowing you to automatically assign membership levels to users, and populate numerous other pmpro fields, simply by adding a few columns to your CSV file.
So, what is the best way to php test for Has NO Level?
Thanks,
MichaelForum: Plugins
In reply to: [Theme Logic] How does this work exactly?Very Nice.
What is the intended method of setting-up the theme options, menus, etc on the various themes?
Forum: Fixing WordPress
In reply to: apparent error in v 3.91I no longer have v3.9.1 installed.
I re-installed an older WP version and everything works fine.Does v3.8.x test the cookies, or is this something new in v3.9.x?