xdesi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't get into admin — Askimet upgrade?Yeah can be scary but if it’s ever a plugin problem then renaming the folder should disable it allowing access back in!
I guess something went wrong with the askimet upgrade procedure but at least it’s working now!
Forum: Fixing WordPress
In reply to: Question Custom URLsYou probably want to use the structure:
/%category%/%postname%/
This is the most common structure and posts will appear as:
yoursite.com/postcategory/posttitle
Pages will appear as:
yoursite.com/pagetitle
Forum: Fixing WordPress
In reply to: Can't get into admin — Askimet upgrade?Just rename the askimet folder on your server which will disable the plugin and allow you to get back into admin. From there try a re-install of the plugin.
Forum: Fixing WordPress
In reply to: Authors – ControllingHi, If you see here
You can probably achieve 1. by having the users as contributors rather than authors as they have the capabilities you want.
Contributor – Somebody who can write and manage their posts but not publish them
Option 2 would require a custom form either coded by yourself or maybe a plugin so that users could submit the data.
Forum: Fixing WordPress
In reply to: Avatars – Where Are They?The user was probably registered on Gravatar so wherever they post on a Gravatar enabled blog (e.g yours) their avatar will appear!
You could create your own upload function and display that avatar etc.. though if you wanted to I guess
Forum: Fixing WordPress
In reply to: Add Option to AdminThanks a lot Reuben just what I was looking for ??
Forum: Fixing WordPress
In reply to: Finding Width for Single PostsHi you are missing a closing DIV hence why the sidebar is dropping because it is still in the left content DIV if you understand, so you need to close this div before your sidebar.
If this is only happening on posts then I guess you just need to add a </div> to the end of your single.php
Forum: Fixing WordPress
In reply to: Finding Width for Single PostsWell you need to open up a single post page view the Source code from there and find/identify the element class/ID in question. There is no specific/convential naming, it could be anything.
Obviously we can only help so far without seeing the page in question!
Forum: Fixing WordPress
In reply to: Finding Width for Single PostsThe theme file for a Single Post is usually called “single.php”, however the width would probably be defined in the CSS (usually style.css) for the page since CSS controls the presentation of the page.
So you would be looking for the CSS class/ID which controls the single post width and then find it in the CSS and edit the width.
Forum: Fixing WordPress
In reply to: Pagenation Not Working?OK Sorry I fixed it already ??
$p = get_query_var('paged') query_posts('category_name=name&posts_per_page=1&paged=$p')
I must pass the page number to the query.
Thanks to the documentation ??
Forum: Fixing WordPress
In reply to: Multi-Site TranslationsI’ve been looking for the same but complete machine translation without a re-direction to a third-party site, but cannot find one ??
Anyhow on my travels i’ve found something which might help you out WPML it allows you to setup the languages you want, then add seperate versions of the posts which you want in whatever language manually. Not sure on how the URL structure works however! Theres a lot of documentation and possiblities so it might be able to do what you want!
Forum: Fixing WordPress
In reply to: Translate my Blog into Different Language?Hi, thanks for the point in the right direction ??
I tried out a few different plugins and they all seem to offer a link to Google Translate for the page in question, is it not possible to translate my blog on site without leaving the page to go to the translation service (e.g Google Translate) page?
I assume it would have to use some sort of API if the translation service offers one?
Forum: Fixing WordPress
In reply to: How can my Guests Submit Posts?Thanks for the response, a lot of the searches i’ve done all point towards the TDO plugin. I was just wondering whether it could be done without a plugin, e.g is there a way to submit posts directly from my site, so the form would be coded in my theme template..without having to login or anything? I guess it would probably involve submitting the post data from the form to the WP posts table? Is this freely accessible?
Forum: Fixing WordPress
In reply to: How to Show Archives in Sidebar?Hi,
Thanks a lot for the reply, that does display the archives in a dropdown of months, but it’s just a layout issues really I was hoping I could get it to be like:
<ul> <li><a href="#">2010 (23)</a></li> <ul> <li><a href="#">September (20)</li> <li><a href="#">August (3)</li> </ul> <li><a href="#">2009 (25)</a></li> <ul> <li><a href="#">December (20)</li> <li><a href="#">Novemeber (5)</li> </ul>
etc.. you get the jist, obviously the links would link to the correct place. Is wp_get_archives the only function related to getting archives?
Forum: Fixing WordPress
In reply to: How to Save Custom Meta Box ValueOK it turned out get_post_meta did the trick.. I first had to pass $post_id into the function and then I could do this:
function add_to_nav_box($post_id){ //Get the Current Value $curr_val = get_post_meta($post_id->ID,'_addnav',true); //Layout Options Based on Current Value if($curr_val == "no" || $curr_val == ""){ echo '<option value="no">None</option><option value="top">Yes 1</option><option value="footer">Yes 2</option>'; } if($curr_val == "top"){ echo '<option value="top">Yes 1</option><option value="no">None</option><option value="footer">Yes 2</option>'; } if($curr_val == "footer"){ echo '<option value="footer">Yes 2</option><option value="no">None</option><option value="top">Yes 1</option>'; } echo'</select>'; }
P.S I ommited some code just to show the main parts e.g the nonce verification and the save postdata function