Forum Replies Created

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter Wabsnasm

    (@wabsnasm)

    Thanks.

    Do I have access to $post->ID outside of the loop on that page, given it’s actually been created as a page in WordPress? My sidebar is included on index.php too, but still doesn’t seem to be showing the child pages.

    Settings -> Reading -> Posts page. Set that to your page, and it should display your posts.

    I don’t know if this is worth looking at, but Buddy Press might be a good bet. Not used it myself, though.

    Thread Starter Wabsnasm

    (@wabsnasm)

    I didn’t have to use wp_signon at all anyway.

    My solution was to create a login form in a template, submit the form to /wp-login.php with a redirect back to the_permalink().

    Job done!

    For those that want to know:

    if( !is_user_logged_in() ):?>
    				<div class="loginform">
    					<p>Please enter your username and password to continue</p>
    					<form method="post" action="<?php bloginfo('url') ?>/wp-login.php">
    						<div class="formbox">
    
    							<label for="user_login">Username:</label> <input type="text" name="log" id="user_login"><br />
    							<label for="user_pass">Password:</label> <input type="password" name="pwd" id="user_pass"><br />
    							<input type="hidden" name="rememberme" value="forever">
    							<input type="hidden" name="redirect_to" value="<?php the_permalink(); ?>">
    
    						</div>
    						<p><input type="image" src="<?php bloginfo('template_directory') ?>/images/login-button.gif" value="Log in" name="wp-submit">
    					</form>
    				</div>
    			<?php
    			else:
    			?>
    				<div class="pagebody">
    					<?php // the loop goes here ?>
    				</div>
    				<?php get_sidebar(); ?>
    			<?php
    			endif;

    Thread Starter Wabsnasm

    (@wabsnasm)

    Saurus, that is not the problem I’m encountering. What’s happening is that if I enter the non-breaking space from the ‘special characters’ tool, it’s rendered as a normal space.

    So far I have found no solution that allows me to enter a non-breaking space in a post. I find it incredible that no-one has ever entered a non-breaking space in any WordPress post, which is why I’m here, hoping that I’ve missed something really simple and obvious.

    Thread Starter Wabsnasm

    (@wabsnasm)

    I’m having trouble believing that no-one else has found this issue before. Is it something I’m doing that is preventing a non-breaking space from being output?

    Or perhaps this post’s title is not relevant to its content, so people are overlooking it.

    It’s a general issue: has anyne out there using version 2.6.3 input a no-break space in a post, and found that it’s preserved in the output of the post?

    Thread Starter Wabsnasm

    (@wabsnasm)

    My site’s not live yet. It’s not in a sidebar, but the body of a post, and the width is fine, that’s not the problem. I just need it to render &nbsp; as output when I enter it as input, instead of changing it.

    Thread Starter Wabsnasm

    (@wabsnasm)

    Thanks for that, but it doesn’t really answer my question.

    I want to get my site live asap, so I’m forgetting about the subdomain issue and running my blog in a subfolder. Each blog post will be assigned the category ‘blog’, and the rest of my site will be made up of pages or posts in other categories.

    To enhance the SEO of my site, I’ve changed the permalink structure so that the date is removed, thus: example.com/blog/blog-post-slug

    I will mark this thread as ‘resolved’ now because I’m no longer actively looking for a solution; however, I’ll be interested if anyone else facing the same issue manages to resolve it satisfactorily.

    Thread Starter Wabsnasm

    (@wabsnasm)

    Well, I don’t have the problem any more, but it’s more because of working around it than solving anything mentioned above.

    I signed up for a WordPress.com account, created a blog there and used the same import tool from that account to import from Blogger. Then I exported from that account as a WordPress XML file, importing that successfully into my blog on my own domain.

    Thread Starter Wabsnasm

    (@wabsnasm)

    Bounce.

    Thread Starter Wabsnasm

    (@wabsnasm)

    Oh, and I must add that even though the counters are showing one post imported, there are no extra posts showing in WP.

Viewing 11 replies - 16 through 26 (of 26 total)