How to create several Post pages

well, you must understand what “category” is and what a “post” is … you can imagine WP as a collection of posts . those “POSTS” are put inside “CATEGORIES” like books in a library .. The Categories are only for classification reasons. By themselves they are nothing. now , the “categories” page in wordpress, is … Read more

Linked pages from plugin on front can’t see $wpdb

I would do something like this: <a href=”https://wordpress.stackexchange.com/questions/42287/?xp=<?php echo $row->BrExpress; ?>”> <img src=”https://wordpress.stackexchange.com/questions/42287/images/full_menu_icon.gif” alt=”See this store menu” class=”menuimg” /></a> And then to load the page when the link is clicked: function load_the_menu_page() { if(isset($_GET[‘xp’])) { global $wpdb; // retrieve database info here return $info; } } add_action(‘init’, ‘load_the_menu_page’); Note, this is just a sample. If … Read more

anchor tag in header not working on other pages except the home page

The code you’re posting should work, as far as I can tell; however, you’re using some outdated template tags. Try replacing bloginfo( ‘url’ ) with echo home_url(), and bloginfo( ‘template_directory’ ) with echo get_template_directory_uri(), like so: <a href=”https://wordpress.stackexchange.com/questions/45310/<?php echo home_url(); ?>”> <img src=”<?php echo get_template_directory_uri(); ?>/images/logo.png” alt=”Good Morning Moon”/> </a> For more specific instruction, it … Read more