Posts picking up old Permalinks, how to reset?
There seems to be a bug in the Yoast Plugin, which was fixed by switching on to the NavXT Plugin to do breadcrumbs instead.
There seems to be a bug in the Yoast Plugin, which was fixed by switching on to the NavXT Plugin to do breadcrumbs instead.
I use Facebook Photo Fetcher to share all photos from my facebook fan page to wordpress(organizing by Album is not yet available). It works well except you need to refresh the code after every upload of new photos to facebook fan page, it’s not automatic. Unfortunately for me, This plugin doesn’t do what I want … Read more
Its possible, you can get the next post date to compare using get_adjacent_post function change your code to this: <?php while ( have_posts() ) : the_post(); //hold current date $curent_date = $post->post_date; //fix the format to YYYY-MM-DD $curent_date = substr($curent_date,0,strpos($curent_date,” “)); $next_post = get_adjacent_post(false,”,false) ; if (!$next_post == ”){ //get next post’s date $next_date = … Read more
You ca use the conditional tag is_admin() to check if you are on the front-end or back-end like this: function bp_adminbar_currentsite_menu() { global $bp; if (!is_admin()){ ?> <li> <!– Insert your link url or relative url, and your link text below –> <a href=”http://EXAMPLE.COM”>EXAMPLE LINK TEXT</a> </li> <?php } } // Call The Function Above … Read more
Maybe my (edu) plugin can help you understanding the ways that are possible to display pagination a little better. I updated it after reading your Q. You can now more easily style your links. Just add your buttons as background-images to the stylesheet.
I figured this out on my own. I use the code below and duplicated it as many times as I needed without any issues so far. If anyone thinks this is incorrect than please comment. I was not using the main loop anywhere else on this page and used WP_Query. <ul class=”subcats-list”> <?php $weightloss = … Read more
I’ve created a new file, specified the encoding as “UTF-8” and retyped everything by hand – no copy/paste from the old file. Took a while, but all works now. It must have been some encoding errors playing up. Thanks to everyone who helped: @t31os, @kaiser, @Chip Bennett
get_post_meta() function works In and Outside of the loop and you saying that you do see it working on a single image “but doesn’t in loop” means that you probably did not add the code to the right loop. To be clear It works with all posts types.
By default in WordPress if you create a new post, or custom post type based on post, and fill in the title but no body and press “Publish” it will save it as a draft instead of actually publishing it. If the post is saved as a draft it won’t show up in your list … Read more
Hah. I forgot <?php the_content(); ?>