How to using custom DB tables

I’m adding this as an answer, even though it doesn’t strictly answer the question you’ve asked, but it is a means to achieve what you’re after. As I mentioned in my comment, you can use a custom post type and post meta data to store this data, you don’t necessarily have to use the WordPress … Read more

How to Link to WP Pages Internally and Extenally

Use this to output correct link: <?php $page = get_page_by_title( ‘Store’ ); echo get_permalink( $page ); ?> Or if you know ID of your page (you can get ID from administration), you can use just (if ID is 2) <?php echo get_permalink( 2 ); ?> You can read more about get_permalink function here And I … Read more

Adding Gravatar to rss feed

The point is, that the format have no tags for a image to a user. You must use a other tag to inlcude the avatar of a author, not the author tag. The author tag is only for a string, not markkup or images. But you can add content ot the desciption and this is … Read more

Subpage Conditional

Hmm, I’ll take a crack at this. There’s a few ways to go about this. Check to see if page is a direct child, check if it is an ancestor. Something like below might work for you if (283 == $post->post_parent) { echo ‘this post has a parent of 283 so do this’; }else { … Read more

twenty twelve theme widgets not working

Your most likely having an issue with the plugins. These types of problems are extremely hard to diagnose. I had a similar problem with the WordPress theme Arjuna-X where it was loading it’s own modified JQuery library that was only breaking the switching of “Visual” and “HTML” in the post editor. Took me days to … Read more

How can I add the custom taxonomy categories to the posts and pages?

All what you need to do is just pass required post types as array in the second parameter for register_taxonomy function call: add_action( ‘init’, ‘wpse8170_init’ ); function wpse8170_init() { register_taxonomy( ‘my-taxonomy’, array( ‘post’ ), array( … ) ); // or call this function if your taxonomy is already registered register_taxonomy_for_object_type( ‘my-taxonomy’, ‘page’ ); }

WordPress is adding above html

I would suggest you to search for files by content and search inside wp-content folder of your WordPress for this string: “page-who-we-are.php” – you’ll locate the string and you can remove it. To search files by content on Windows, see Best way to confidently search files and contents in Windows without using an indexing service?

different levels of nested comments per page

Please reference the Codex entry for wp_list_comments(). This function includes a ‘max_depth’ parameter in its args array. On the specific page in question, simply call: <?php wp_list_comments( array( ‘max_depth’ => ‘1’ ) ); ?> If you need more specific help, please clarify your question to indicate how you would identify the specific page in question. … Read more