bloginfo no show the right path

the codex says get_stylesheet_directory_uri(); returns a properly-formed URI; in other words, it will be a web-address (starting with http:// or https:// for SSL). As such. i don’t understand why it’s not working for you, try to use get_template_directory_uri(); in the event a child theme is being used, the parent theme directory URI will be returned, … Read more

Custom Form Redirects to Post after Submit

input name attribute value name is reserved by WordPress, this is the problem i have found after visiting and testing your form, simply replace name=”name” with name=”fullName” etc. <input type=”text” name=”name” placeholder=”Name*” value=”<?php echo esc_attr($_POST[‘name’]); ?>” /> to <input type=”text” name=”fullName” placeholder=”Name*” value=”<?php echo esc_attr($_POST[‘fullName’]); ?>” />

Get menu names and same depth level menu names

Sorry, this is a little vague but it should get you started. It seems like you need to: Check if the page has a parent <?php if($post->post_parent) ?> Something like <?php echo $post->post_parent; ?> Something like <a href=”https://wordpress.stackexchange.com/questions/113592/<?php the_permalink() ?>”><?php the_title(); ?></a> Something like the code below, then apply your solution for turning it into … Read more

Tags interfering with next_post_link();

query_posts() should not be used, look into pre_get_posts hook. Whatever you do inside index.php template does not influence inside of single.php template. Two different top level templates aren’t (normally) loaded at the same time. You are explicitly requesting next_post_link() to limit next post to the same category via third argument, are you sure that’s not … Read more

How to achieve anchor links on top of pages.

If you’re trying to do this just for anchor links within your current WP page, a table of contents style plugin will likely suffice; for example, see: http://wordpress.org/plugins/table-of-contents-plus/ This specific example auto-generates the table of contents and anchors based on the headers in your document/page, so it is fairly low fuss on you as the … Read more

Link to Authors blog posts

the_author_ID() says in Codex: It displays the unique numeric user ID for the author of a post; the ID is assigned by WordPress when a user account is created. This tag must be used within The Loop. So, it won’t work. Try using the following code* within a loop: <li class=”author vcard”> <a class=”url fn … Read more