| bio | website | chipbennett.net |
|---|---|---|
| location | Cincinnati, OH | |
| age | 35 | |
| visits | member for | 2 years, 2 months |
| seen | 4 hours ago | |
| stats | profile views | 1,779 |
I am a WordPress enthusiast, and try to help others as I have been helped by others in the community.
Note: all code posted by me, in questions, answers, or comments is dual-licensed under the GPL version 2.0 (or, at your option, any later version), and the CC-By-SA license required by the Stack Exchange terms of service.
|
Dec 19 |
comment |
Using only %postname% I could be completely wrong, but that code block does not look to me like it is the mod_rewrite normally output by WordPress. First, backup/delete your custom .htaccess rewrite rules, and try letting WordPress generate its own .htaccess rewrite rules. If it is able to do so, you should be good to go. If, however, WordPress is unable to generate the .htaccess rules, then you have a problem. |
|
Dec 19 |
comment |
Adding if statement into the_content() You're totally bastardizing the order of output here. The call to the_content() should always be inside the Loop. And calls to query_posts() should only ever be used to modify the Primary Loop. If you need to query additional posts, you should use WP_Query() or get_posts(). That said: can you describe, in human - not code - terms, what you are trying to accomplish with each template file ( page.php and index.php)? |
|
Dec 16 |
comment |
Changing comments avatar Generally, to change per-user data, you need to modify user meta data - and in order to have user meta data to modify, you need to have registered Users. With anonymous users, you're pretty much stuck with using a default avatar, or else using an email address-based avatar (Gravatar, or one of the generated avatars). |
|
Dec 16 |
comment |
WP 3.3 update disabled editor stylesheet? Or TinyMCE Advanced problem?add_editor_style(), combined with editor-style.css, is your friend here. :) While I'm sure there are other, valid reasons for using TinyMCE Advanced Plugin, styling the editor to match the front end is not one of them. WordPress core handles it by default (though it must be supported on a per-Theme basis). |
|
Dec 16 |
comment |
GPL and intellectual or exclusive ownership So, modifcations mentioned by me above can not be considered as claim of"intellectual or exclusive ownership". Incorrect. Note that the clause references the original work, not modifications to the original work. See my updated answer for clarification. |
|
Dec 16 |
revised |
GPL and intellectual or exclusive ownership added 906 characters in body |
|
Dec 16 |
comment |
GPL and intellectual or exclusive ownership That still shouldn't be a problem, if X properly declares copyright in the first place. Then, it is incumbent upon Y to retain original copyright declaration, while adding a copyright declaration for his derived work. I'll clarify my answer to address this point. |
|
Dec 16 |
reviewed | Approve suggested edit on Add Post Tags to Body Class |
|
Dec 16 |
answered | GPL and intellectual or exclusive ownership |
|
Dec 13 |
reviewed | Approve suggested edit on How do I turn off the Admin Bar for all Subscribers? |
|
Dec 9 |
comment |
getting url in wp_enqueue_style To clarify: get_template_directory() (along with the OP's use of get_bloginfo( 'template_directory' )) returns the file path to the template directory. For publicly accessible resources (such as enqueued scripts/stylesheets), you need to use the template directory URL, which is returned by get_template_directory_uri() - and which this answer demonstrates. |
|
Dec 9 |
reviewed | Approve suggested edit on getting url in wp_enqueue_style |
|
Dec 9 |
reviewed | Reject suggested edit on Output Title of Post's Current Category |
|
Dec 9 |
awarded | Necromancer |
|
Dec 8 |
comment |
Different image sizes for home and post pages Note that .home applies to the Site Front Page, and not necessarily the Blog Posts Index (which uses .blog). |
|
Dec 8 |
answered | Different image sizes for home and post pages |
|
Dec 2 |
reviewed | Approve suggested edit on WordPress how to sort by meta value? |
|
Dec 2 |
answered | How to prevent parent admin page from appearring as a child admin page |
|
Dec 2 |
comment |
How to prevent parent admin page from appearring as a child admin page Can we see the actual code being used? |
|
Dec 1 |
reviewed | Approve suggested edit on Hide page visual editor if certain template is selected? |