Editing Help Section
Do NOT edit core files! You can add to or override the default text by using a filter. Try taking a look at http://justintadlock.com/archives/2011/06/02/adding-contextual-help-to-plugin-and-theme-admin-pages
Do NOT edit core files! You can add to or override the default text by using a filter. Try taking a look at http://justintadlock.com/archives/2011/06/02/adding-contextual-help-to-plugin-and-theme-admin-pages
Looks like the previous developer had defined the site and home URLs in the main wp index.php file.
You can use Xenu’s Link Sleuth to get a list of all pages that are linked to on your site. It doesn’t technically show all pages that exist, but it shows all pages that a user or search engine could reasonably reach (i.e. those that are linked to from within your site).
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
Using the Download Monitor plugin allows me to categorize files, so I put my files in there instead of the Media Library. I organize files into categories based on which pages I want to display them. Then, I use a text widget with a custom shortcode to display files per category per page. In my … Read more
Just add a custom link (wp-dashboard > Appearance > Menus) using a dummy url, then add the custom link to your menu, and edit the menu item and remove the url.
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
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
get_category_link is what you are looking for. And you could just use: <?php echo get_category_link(6); ?> and that will output the url to the category page. <a href=”https://wordpress.stackexchange.com/questions/45845/<?php echo get_category_link(6); ?>”><?php the_title(); ?></a>
I would guess link_catetory should be link_category. 🙂