Forum Replies Created

Viewing 6 replies - 136 through 141 (of 141 total)
  • Hi fhcadmin!

    While this is not the best solution, try adding this to your css file:

    ul.xoxo {
       margin:20px 0 !important;
    }

    If you don’t know how to add this, go to the WordPress admin and click on the “editor” sub-menu under “appearance”. On the right side of the page, you should see a list of files. Find the file titled “stylesheet (style.css)”. Scroll to the bottom of it, and paste in the above. Adjust the “20px” to whatever seems appropriate.

    Again, this is not a great solution, it is a quick fix if you need it in a hurry, and should work.

    Hi bwesty, good luck, let me know how it goes. For the taxonomies there aren’t really rules, only good practices. So using them depends on what you are using them for.

    Let us know how you’re doing ??

    Hi bwesty!

    I think overall you’re on the right track in setting all this up. With items which are very obviously segregated (for example, posts, restaurants, books, movies, etc) I would suggest post types.

    If you want to build directories like this, WordPress is great, but it can be best utilized if you have some PHP knowledge. It is possible to add a meta box to a post type, instead of using the custom fields. Database-wise, the end result is usually the same, but it makes for a very easy management system.

    I manage a popular scientific blog where we have online seminars, which are a separate post type. To associate a speaker with a seminar we use a custom box, which is basically a list of users who are speakers. We could have just used a custom field labeled “seminar_speaker”, and then enter the ID of the user, but this is obviously much less intuitive.

    One thing I don’t understand is why you use taxonomies for price? Are the values limited (eg: low price, mid-price, high priced)? If so, taxonomies are fine, if you’re using values all over the place (like $3, $6, $18, etc), I recommend you use custom fields / custom meta boxes.

    So I think that your setup of custom posts / taxonomies is fine. If you would like to take a look at how to add a custom meta box, take a look at the codex here, or you could try this tutorial. I didn’t read it completely, so please excuse me if it is not exactly the right one.

    To show custom taxonomies, you can very easily use wp_list_categories(). Take a look at its description in the Codex here.

    If you custom taxonomy has the name ‘restaurant_prices’ you could use
    wp_list_categories('taxonomy=restaurant_prices') to show a list. To show a taxonomy next to a post, you will need to use get_object_terms(), you can take a look at the description of it in the Codex. This returns an array of objects, so it won’t display directly. You will have to cycle through each assigned taxonomy and display them using PHP.

    I hope I could help, good luck!

    Hi carlwalker!

    This is a difficult problem, since you can’t really track people reading your feed, especially since if I have the link to it, I don’t need to click the link on your blog to get to it, so I would be left out. This is probably not a problem, but still ??

    What I would do, is create content which is only in the RSS feed, not on the blog. You can do this by creating a custom loop on the main page, and everywhere where you list posts, and exclude a certain category for example.

    This way those posts would not show up on your blog, only on your RSS feed.

    This way everyone gets the rewards, not just those who arrive from your blog.

    So to promote this, you can just say that rewards will be given in RSS feed only posts.

    Hope I could help!

    Hi paa1605!

    This are a number of ways to achieve this, especially with WordPress 3.0+. If you are not comfortable with PHP, you could do the top part as you explained, listing the pages.

    As for the bottom part, I am assuming that each of your posts is a product. You can then use categories for brands, and then list them using wp_list_categories() (link to codex)

    If you are ready to modify your theme to achieve this, you could utilize custom post types, and custom categories. WordPress uses some post types internally (regular posts are one, pages are another for example), but you can now create your own, eg: books, or products. Take a look here for an explanation and here for the codex article.

    Custom categories will be useful to you if you already use categories (eg: winter sports, summer sports, triathlon). You can then create a custom category named “Brands”, which you could use to assign brands to posts. This article provides a good overview of this, take a look!

    I know this is a pretty vague answer, but I hope you find what you’re looking for. Good luck!

    Hi hotinthenews!

    There is a plugin called Theme Test Drive, which can produce what you described. It’s settings can be found under the Appearance menu (not settings or plugins).

    This plugin enables you to see a different theme when you’re logged in as an admin for testing new themes. If you want to test a new theme without all your blog visitors seeing different themes popping up, you can use this plugin to only show admins the selected theme.

    However, I can’t think of a reason why this would not show up in your plugin list, but who knows?

    You might also want to check if there is any code in the theme wrapped between an if (is_user_logged_in()) or maybe if (current_user_can()) statements. The first one would mean that only logged in users see what is inside the if statement, the second specifies a user level as well.

    Hope I could help, good luck!

Viewing 6 replies - 136 through 141 (of 141 total)