Darrell Schauss
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add li classes to wp_nav_menu itemsHere is a way with jQuery to remove the very last ‘after’.
http://ww.wp.xz.cn/support/topic/413518You can specify the ul id or a div with an id as mentioned in the post about multiple menus.
http://codex.ww.wp.xz.cn/Function_Reference/wp_nav_menuWhen you make a change directly to your php file do you don’t see those changes when viewing the php file in the theme editor?
Make sure it is the right theme folder and that you don’t have two themes with the same name in the style.css.Forum: Fixing WordPress
In reply to: Why jQuery doesn’t work as it should?Try like this. Reduce conflict and runs the jquery only after the page is finished and the elements exist to be manipulated.
<script type="text/javascript"> var $j = jQuery.noConflict(); // Use jQuery via $j(...) instead of $(..) $j(document).ready(function(){ $j('#show').click(function() { ..... } }); </script>Forum: Fixing WordPress
In reply to: Displaying Post in HeaderIf your query is messing up your loop. Try to store the current global $post temporarily. Run yours then place it back in the end.
global $post; $tmp_post = $post; $myposts = get_posts('p=648'); ...... <?php endforeach; $post = $tmp_post; ?><?php the_content(); ?>will show the content of the post which I assume is your image.Forum: Fixing WordPress
In reply to: User Roles – need user to login but not “do” anything?Maybe in your themes functions.php file…
do_action('wp_login','your_function') function your_function(){ //if subscriber //Header('Location: http://www.homepage.com/') //endif }Forum: Fixing WordPress
In reply to: Add blogpost in facebookThe article you show is not doing this part.
;&t=<?php the_title_attribute(); ?>
Also it doesn’t look like that semicolon is supposed to be there before the &Forum: Fixing WordPress
In reply to: Custom sorting of wp_query?If you were using an actual SQL query you could use
ORDER BY CONVERT(post_title, SIGNED)I wonder if it would work to put
CONVERT(post_title, SIGNED)as the orderby argument in wp_query.Forum: Fixing WordPress
In reply to: Using table_prefix for multiple blogsIt will probably give you tons of headache the next time the database needs to be updated when WordPress gets updated. What about this… WordPress and WordPress MU have merged, allowing the management of multiple sites (called Multisite) from one WordPress installation. Is this saying that wordpress multisite/multiblog functionality is now part of WordPress 3 or that they are collaborating with each other now?
Forum: Fixing WordPress
In reply to: Comment Form problem with version 3.0The comment_form() function is built into WordPress for a standardized form. I can’t find much info on it for manipulating it. I found this, it shows some hooks on customizing the default form. http://ottopress.com/2010/wordpress-3-0-theme-tip-the-comment-form/
Forum: Fixing WordPress
In reply to: which WP table contains category assignments?Categories, tags, and many other things are defined under the wp_terms table. A term will have a name, slug, and term_group. The term_id of the term table is in relation to the wp_term_taxonomy table. Which I believe is the description of what the term is and how many posts in the category (for example). In this table is a term_taxonomy_id which is in relation to wp_term_relationships table to link the post with the term by storing the post ID from wp_posts in the object_id of wp_term_relationships.
So:
wp_posts -> wp_term_relationships -> wp_term_taxonomy -> wp_terms
Forum: Fixing WordPress
In reply to: Category widget– Do your other categories have posts in them?
– Im sure you’ve selected All instead of a single category in the drop box on the widgetForum: Fixing WordPress
In reply to: Import wordpres xmlI have not done importing from XML but whenever you add/edit/del a post the numbers in the system for how many posts you have etc should update themselves.
Forum: Fixing WordPress
In reply to: Using Custom Fields INSIDE Query Posts commandThe custom field parameters for query_posts are here..
http://codex.ww.wp.xz.cn/Function_Reference/query_posts#Custom_Field_ParametersForum: Fixing WordPress
In reply to: Filter Posts by different custom fields valuesThis might help for using the query_posts function
http://codex.ww.wp.xz.cn/Function_Reference/query_posts#Custom_Field_ParametersFor more in depth control.
If you know how to work with SQL statements. This one shows custom select queries of posts based on custom fields.
http://codex.ww.wp.xz.cn/Displaying_Posts_Using_a_Custom_Select_QueryForum: Fixing WordPress
In reply to: Backup without phpadminYou can get your mysql settings from the wp-config.php file if you can FTP.