Text Editor Tags
Text Editor Tags
Text Editor Tags
Fixed it myself by editing the htaccess … that I forgot to do.
I would check this plugin out. I allows guests to create posts but not sure about editing live posts. > Anonymous Posting It allows anonymous users/readers to write their own posts, writing is protected with reCAPTCHA. Plugin can be used for some kind of message board or public forum, you can configure comments under anonymous … Read more
I am not sure what your loop looks like from which you are adding the articles to your list. All you need do is to create a variable to hold your counter somewhere before the while statement in your loop. This could be something like <?php $counter = 0; ?> Note I am setting the … Read more
Sounds like your news-box isn’t using clean methods for pulling posts. I’m guessing that you are not using the get_posts() function. You’re probably creating a new WP_Query object from scratch? Try using get_posts(), as it will take care of keeping the original page query clean for you.
I managed to solve the problem. Here’s how to do it, in case anyone else ever needs this solution. ** Updated Mar 10 3:30am EST ** The previous function that I had here was displaying the page properly, but was returning a 404 error code. I’ve replaced the bad code example with a working one … Read more
This is pretty easy, as WordPress sets css classes for the parent pages. Default we hide all sublists (ul) from the menu with .menu ul { display: none; } Then when the parent page is selected we use the css classes that are set by WordPress to show the sublists again. .menu .current_page_ancestor, .menu .current_page_parent … Read more
You want to use the template file archive-{posttype}.php to output an archive index of your Custom Post Type, and the template file single-{posttype}.php to output a single Custom Post. Refer to the Codex entry for Template Hierarchy.
Google knows what these are – you do not need to worry.
There are a lot of pieces to this puzzle. You need to be able to convert the postcodes into a numerical data format so you can query the pages/posts with “is greater than [current location minus 5 miles] and less than [current location plus 5 miles”. In two dimensions. This means storing the latitude and … Read more