WordPress: MyReviewSite plugin ratings not showing in subsite of WP Multisite

Using WordPress Multisite is a great idea if you want to have many subsites under your WordPress site. When you create a new subsite, WordPress automatically creates a subdomain for you. For example, you create a subsite named “desserts” under your domain “foodblogofcatzie.com”, WordPress will create the subdomain “desserts.foodblogofcatzie.com”. Such domain name is not in use (yet). It’s just an example which I will be using for the rest of this blog entry.

I’ve been using WordPress for a while now but it’s my first time to run it in multisite form. It’s a requirement in my current project at work. I won’t deny that it’s giving me headache. I just hope I get the hang of it soon.

Today I encountered a problem with a WordPress subsite which had MyReviewSite plugin installed. Ratings won’t go through when I post them. Reviews (comments) are posted, but the stars of ratings won’t appear. Comparison tables are empty. Posts and posted reviews (comments) show no ratings either, even though I coded them to do so.
Continue reading

Posted in CMS, WordPress | Tagged , , , , , , , , , , , , | Leave a comment

WordPress: Custom loop to display a post’s children pages with title, thumbnail, permalink and custom field values

This post is just a quick personal note.

On the site I am working on right now I have a sidebar that displays upcoming church events. So I created a page Coming Events, with children pages which are the individual events themselves. What I want is for a list of individual events to show on the sidebar.

Here’s what I’m using:
Continue reading

Posted in PHP, WordPress | Tagged , , , , , , , | Leave a comment

WordPress: incompatibility with PHP 5.3.9

I gave our network director some trouble to fix when it’s nearly midnight in his place. (Sorry!)

The trouble is that all WordPress installations in a server freezes / hangs / stops when I install ANY plugin or ANY theme.

It stops on the line which says “Unpacking the package…”

I haven’t checked but the problem could also hinder you from doing automatic upgrade of WordPress, or updating existing plugins, etc…

We tried several things before doing something that actually fixed it. Read on because they might help you:
Continue reading

Posted in CMS, PHP, WordPress | Tagged , , , , , , , , | Leave a comment

WordPress: How to enable shortcodes in widgets

If you put a shortcode (e.g., [shortcode_name]) in a text widget area of your WordPress site, but find out that what you expect to load doesn’t load, then it could mean that widgets are currently not enabled in your active WordPress theme.

Try adding the following line of code into your active theme’s functions.php:
Continue reading

Posted in CMS, WordPress | Tagged , , , , , , | Leave a comment

jQuery, CSS: smooth sticky float sidebar

So I’ve been working on a personal site with a floating sidebar. I noticed that when I scroll it would sometimes jump, and makes the sidebar look distracting. I wanted a smooth scrolling effect like the one I saw at the Bell.ca website during the “Build your home phone solution” process.

This was the tutorial that helped me achieve such smooth scrolling effect for a floating sidebar: Fixed Floating Elements.
Continue reading

Posted in CSS, JavaScript, jQuery | Tagged , , , , , , , | Leave a comment