Forum Replies Created

Viewing 11 replies - 46 through 56 (of 56 total)
  • Forum: Plugins
    In reply to: Topsites Plugin/Script?
    Thread Starter drinkingsouls

    (@drinkingsouls)

    For anyone who wants further info on this, Chipmunk Scripts (https://www.chipmunk-scripts.com/) has a topsites script which can be partially integrated into WordPress by calling the header, sidebar and footer. If anyone needs and help feel free to contact me.

    Forum: Fixing WordPress
    In reply to: Unwanted </p> tags
    Thread Starter drinkingsouls

    (@drinkingsouls)

    Hey, thanks for the reply, but as mentioned above I found a few plugins that were able to do this, however they all also stripped the <br /> tags from the page. I just want the extra paragraph tags removed but all the plugins seem to strip the break tags too.
    Thanks

    Where does the search bar show? Is it in the sidebar?
    If so check that you have not got it added in your widgets.
    If you have not then take a look at sidebar.php and you will probably find it coded in there.
    I’m happy to take a look if you can’t find it.

    Thread Starter drinkingsouls

    (@drinkingsouls)

    What is the gallery option?
    Do you mean the insert image icon above the textarea? If I use that it makes no difference.
    Thanks

    Thread Starter drinkingsouls

    (@drinkingsouls)

    Thanks, I removed the navigation div in single.php and its gone!. Cheers

    Thread Starter drinkingsouls

    (@drinkingsouls)

    And that’s the reason why IE should be erased forever from the face of the Earth, and never be left to posterity to deal with…

    Try adding the statement clear right, to see if it makes a difference in IE

    Tell me about it! IE has caused me so many problems with WordPress.
    clear: right; didn’t make any difference. This is much more difficult than I thought.

    Ideally, I’d make it into an unordered list. The whole thing in a UL, and each image and description would be in it’s own LI. Then float the LI’s left.

    Have you had success doing this?. I’m up for trying but I’ll need a hand. I don’t know where the image and text are defined. There is no reference to the image in single.php or page.php
    Would I have to mess with the core code?.

    Thanks guys.

    Thread Starter drinkingsouls

    (@drinkingsouls)

    That seemed to be working really great for a moment there until I checked the same post in IE.
    In IE it still has the text aligned alongside the first image.

    In Firefox: https://img292.imageshack.us/img292/3288/fffq0.jpg (Displays Correctly)

    In IE: https://img147.imageshack.us/img147/2449/iegz9.jpg

    I really can’t think of any way around this. I could try putting the post images and text in divs so they could have more individual styles applied?
    Have you any more ideas?
    Thanks for this.

    Thread Starter drinkingsouls

    (@drinkingsouls)

    Hey, thanks.

    You’ll need to encapsulate each paragraph and its associated image inside a div, and then float those div’s instead.

    Is there no other way to do this rather than putting <div id=”leftfloatingdiv”>CONTENT</div> in every post?.

    Also, do you need the <p> tag? <div class=”entry”> most likely has the style for the font.

    No, I don’t need it but I’m not sure how to remove it!. Its not in index.php where I thought it would be so it must be within wordpress somewhere. Any ideas?

    The url to my test post with the image problem is: https://drinkingsouls.com/wordpress/2009/01/12/test/

    Cheers guys, appreciate the help.

    Thread Starter drinkingsouls

    (@drinkingsouls)

    Hey, thanks for the reply.
    I tried the code you suggested. It did put one image below the other, but left the text where it was.

    See here: https://img78.imageshack.us/img78/9506/problemuc7.jpg

    Any suggestions?. The way you suggested would work, only the image and the text are in different containers. I could try putting them both in the same container and doing it that way but I have no idea how.

    Heres the source code if it helps:

    <div class="entry">
    					<div class="wp-caption alignleft" style="width: 70px"><img title="Hi" src="https://img514.imageshack.us/img514/3320/bandierainghilterrazu8.gif" alt="hi" width="60" height="40" vspace="15" hspace="15" /><p class="wp-caption-text">hi</p></div>
    
    <p>test here i am</p>
    <div class="wp-caption alignleft" style="width: 70px"><img title="Hi" src="https://img514.imageshack.us/img514/3320/bandierainghilterrazu8.gif" alt="hi" width="60" height="40" vspace="15" hspace="15" /><p class="wp-caption-text">hi</p></div>
    <p>test here i am</p>
    				</div>
    Thread Starter drinkingsouls

    (@drinkingsouls)

    Hey, thanks for the help. I understood what you meant but I’m having a problem doing it.
    I have the template file video.php in my template directory and I set a page to use it. This is the code from the template file:

    <?php
    /*
    Template Name: Video
    */
    ?>
    
    <?php get_header(); ?>
    
    <div id="content">
    
    <div class="post">
    
    		<?php if(have_posts()) : ?>
    		<?php
       if (is_page()) {
          query_posts("cat=3");
       }
    ?>
    
    		<?php while(have_posts()) : the_post(); ?>
    
    </div>
    
    </div>
    
    <?php
    get_sidebar();
    get_footer();
    ?>

    But when I view the page it shows nothing. If I take out the php it shows a blank layout without content, but with the php it shows nothing.\
    Whats causing this?
    Thanks

    Thread Starter drinkingsouls

    (@drinkingsouls)

    Hey, thanks for the reply.
    Im having a bit of trouble trying to get both the code and widgets to show.
    Here is the code in my sidebar.php for the theme Im using:

    <ul id="sidebar">
    			<?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    
    			<?php if ( is_404() || is_category() || is_day() || is_month() ||
    						is_year() || is_search() || is_paged() ) {
    			?> <li>
    
    			<?php /* If this is a 404 page */ if (is_404()) { ?>
    			<?php /* If this is a category archive */ } elseif (is_category()) { ?>
    			<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
    
    			<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
    			<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    			for the day <?php the_time('l, F jS, Y'); ?>.</p>
    
    			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    			<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    			for <?php the_time('F, Y'); ?>.</p>
    
    			<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    			<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    			for the year <?php the_time('Y'); ?>.</p>
    
    			<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
    			<p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
    			for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
    
    			<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    			<p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
    
    			<?php } ?>
    
    			</li> <?php }?>
    
    			<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
    
    			<li><h2>Archives</h2>
    				<ul>
    				<?php wp_get_archives('type=monthly'); ?>
    				</ul>
    			</li>
    
    			<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
    
    			<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    				<?php wp_list_bookmarks(); ?>
    
    				<li><h2>Meta</h2>
    				<ul>
    					<?php wp_register(); ?>
    					<li><?php wp_loginout(); ?></li>
    					<li><a href="https://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    					<li><a href="https://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    					<li><a href="https://www.ads-software.com/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
    					<?php wp_meta(); ?>
    				</ul>
    				</li>
    			<?php } ?>
    
    			<?php endif; ?>
    	</ul>

    I guessed that the code towards the top

    <?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    defined where the widgets were called upon, so I moved this to a few places lower down sidebar.php but whenever I moved it the widgets would disappear and the sidebar would be empty.
    Do you know where to move the code?
    Thanks for the help.

Viewing 11 replies - 46 through 56 (of 56 total)