mtibbits
Forum Replies Created
-
I answered my own question using the following code:
add_filter('wcps_filter_cart', 'replace_slider_cart_text', 99); function replace_slider_cart_text () { global $post; return '<div class="wcps-items-cart"><a class="button" href="' . get_the_permalink($post->ID) . '">View Product</a></div>'; }Forum: Plugins
In reply to: [Contact Form 7] Cannot submit in IEThank you. Indeed that is what the problem was. Previous dev was not using shortcode.
I know it has been several months, but I just wanted to thank you for your help with this. As you suggested I added the language files. Now when I update to the latest version of MSLS everything works perfectly. This plugin is great for multi-language sites. Thanks again!
Forum: Fixing WordPress
In reply to: site will not load without trailing slashFor anybody else with this issue, the problem was a space in my functions.php file. Ex.
<?php functions here... ?> <?php more functions.. ?>The space in the middle between the first closing php tag and the second opening php tag was causing all the problems.
I hate to argue, but with version 0.9.5 it DOES work even without the language files. 🙂 I’m working with it right now. Go ahead and try it. Under “posts” use the “test” post as an example. You can point it to whatever post you want on the other blog and it works fine…
There aren’t any language files because the backend, or Dashboard, needs to appear in English for both sites. Only the content itself is to appear in both English and French.
I don’t see how missing language files would cause this problem.
Again, version 0.9.5 works just fine without the language files.
I just created a superadmin user for you… please backup any files before you change them.
I deleted 0.9.5 and installed a fresh version of 0.9.6 but I still have the same problem.
You said in your last post that the way the plugin works has changed. Don’t you think this might be what is causing the problem?
I only have one user for my blogs and it is the admin user.
Please, do you have any ideas as to why this latest version of the plugin doesn’t work?
Forum: Fixing WordPress
In reply to: site will not load without trailing slashI’ve finally figured out that the problem is caused by my theme. Here is some more info:
– I am using WP v3.4.1
– I have disabled all plugins
– When I am using the TwentyEleven default theme, everything works fine.When I activate my own theme I have the following problems:
– re-activating any other theme gives me a “blank page” or the white screen of death (WSOD).
– having my custom theme active also gives me a WSOD when I try to logout of the Dashboard.
– having my custom theme active will not load the site if I do NOT put a trailing slash at the end of the URL.Site URL currently is: artsnb.ca/site/en
If anybody could help it would be much appreciated. I’m lost as to what could be causing this.
Thanks,
Matt
Forum: Fixing WordPress
In reply to: site will not load without trailing slashI created a work around so you won’t see the problem in action. Couldn’t leave it broken on a live site.
I went back to version 0.9.5 and it started working again…
I am away for the weekend but will try to manually install 0.9.6 on Monday. Hopefully it will work
If I delete the plugin and then reinstall it will I lose all of the associations?
Yes, I am able to switch between blogs without any problem from the MSLS settings page.
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageGot it. Thanks a million for your help. It is greatly appreciated!
Forum: Fixing WordPress
In reply to: HELP!! Posts disappeared from front pageSo using the code you gave me, I’ve added h1 tags to place the category title. I’d like to link the title to that category archives like so:
<?php $cat=get_cat_ID('Upcoming Events'); $posts = get_posts("cat=$cat&showposts=2");?> <h1><?php the_category(', ') ?></h1> <?php if ($posts) { ... and so onIn this instance it returns “Job Bank” as the title and links to that category…
How would I fix it?