wpismypuppet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Restrict Post Type: Page from editor roleWe use a combination of White Label CMS and Advanced Access Manager to lock sites down for the end user.
White Label will allow you to customize the admin area to better “Brand” the site for the end user by adding their logo, colors, and other branding items… it also allows you to “hide” admin menu items so they don’t visit something they shouldn’t.
Advance Access Manager gives you more fine-tuned control, granting/denying access right down to a specific page or post. Very powerful. Read up on things before you get started, but otherwise these two should do what you are trying to accomplish.
Forum: Fixing WordPress
In reply to: YoutubeThe image you are looking at is the default YouTube thumbnail image. You have limited control over what this looks like since YouTube creates and assigns these automatically. You can change it to one of four that YouTube creates, but only if you own the video. If you do, follow these directions to pick a different thumbnail:
http://support.google.com/youtube/bin/answer.py?hl=en&answer=72431
If you want to see what the thumbnails (that YouTube chose for you) are, simple type one of these into the address bar (making sure to replace <insert-youtube-video-id-here> with your video id):
http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg
http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpgIn your case, the URL will look like:
Forum: Fixing WordPress
In reply to: How to add a rel attribute to wp_get_categories a tagsWell, there are two options here:
First, you can create a custom Walker to use PHP to add that rel attribute to each category. The benefits to this method is you will be guaranteed to have that attribute added each and every time since it’s PHP doing the work. The downside is that you’ll need to know how to write a custom Walker, and more importantly you’ll need to know how to program in PHP.
The second option is to use jQuery to dynamically add that attribute. The upside to this is you won’t need to know PHP or how to create a custom Walker, and it’s SUPER easy to do. The downside is that it relies on JavaScript to add the attribute. So if the tooltips are essential to the operation of the site, this is not the method to choose.
It sounds like your tooltips are probably going to be a JavaScript enhancement anyway, so jQuery is by far the easiest way to go. But again, if your tooltips are ESSENTIAL to the operation of the site, then go PHP.
Let me know which way you’d like to go and I can offer assistance to both methods.
Forum: Fixing WordPress
In reply to: YoutubeWe don’t have permission to view drafts since we need to be logged into your site to see them! Please publish the page, or find some other way for us to view it. Then I’ll be happy to help 🙂
Forum: Fixing WordPress
In reply to: Search redirects to site home pageBy default, the search results are sent to the homepage… you can customize the search results by creating a search.php page, but this is NOT the search results page, it’s simply a way to customize how the search results work. If you want a special page to show the search results, you’ll need to create a template. These directions will show you exactly what you need. It covers all options.
Forum: Fixing WordPress
In reply to: Need more spaceThat limit is controlled by PHP, not WordPress. In order to accomplish this, you must have some experience with php.ini, .htaccess, or basic PHP programming. It’s important to note that it’s up to your hosting company to “allow” you to modify the upload file size. Here is a good page that explains all this:
http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
If none of these tricks work, you’ll have to contact your hosting company and see what they allow for php.ini modifications.
Forum: Fixing WordPress
In reply to: Removing admin stuff depending onWe use White Label CMS in conjunction with Advanced Access Manager to limit what our customers can do.
White label will give you the chance to “hide” certain menu items from them… Advanced Access Manager will give you more fine tuned control, down to a specific page or post. Both are very handy and help in making a pretty package for the end user.
Forum: Fixing WordPress
In reply to: How to Add Post-FormatLooks like you want to add this in your functions.php file:
if (function_exists('add_theme_support')) { add_theme_support( 'post-formats', array( 'aside', 'link', 'quote' ) ); }I found this information here:
http://codex.wordpress.org/Function_Reference/add_theme_support
This should at least answer your question #2. Since you know 1 and 3, you’ll probably be all set. Let me know if you need more help.
Forum: Fixing WordPress
In reply to: How to list all root pages and child pages of current page?If I’m not mistaken, I believe you are looking to use
wp_list_pages(). Read up on this and let me know if it helps you out.Forum: Fixing WordPress
In reply to: Category pages display server errorYou are welcome.
Forum: Fixing WordPress
In reply to: Category pages display server errorYou know what, it’s late. Ignore my code. I think the only other issue you’re facing is this line (line 6 in pastebin):
<?php if(strlen(category_description()) > 0) echo category_description(); ?>it’s missing a colon (:). Should look like:
<?php if(strlen(category_description()) > 0): echo category_description(); ?>Forum: Fixing WordPress
In reply to: Category pages display server errorTry this: http://pastebin.com/uF7xMkRr
Forum: Fixing WordPress
In reply to: Category pages display server errorShow me the new error log
Forum: Fixing WordPress
In reply to: Category pages display server errorThat’s what I wasn’t sure of. It looks like you are starting the traditional WordPress loop with:
<?php global $post; if(is_archive() && have_posts()) :And as far as I can see, that’s the one that’s never closed. Maybe move that line to right below:
<?php get_header(); ?>And then add
<?php endif; ?>to right before the very last line,<?php get_footer(); ?>. If it doesn’t look right, you can always move it around. But at least this way it’ll be error free.Forum: Fixing WordPress
In reply to: Category pages display server errorOk, the problem is you have this line:
if(is_archive() && have_posts()) :but you never close it. That looks like the only issue. You just need to add:
<?php endif; ?>Wherever you need to end your if statement. It’s interesting you have
is_archive()in that statement since you are on archive.php. Anyways, I didn’t look too much into what your code is doing, but that’s what’s breaking it. Fix that and your 500 error should go away.