Forum Replies Created

Viewing 15 replies - 1 through 15 (of 224 total)
  • Thread Starter brittanie

    (@brittanie)

    No, it’s not working. Look at the first tweet. The after the short url there is a line break (and a line) and then the time stamp. The url should look like the rest of the tweet, not like the time stamp.

    It’s seeing any links and hashtags as timestamps and trying to style them that way.

    Thread Starter brittanie

    (@brittanie)

    I tried those options before posting, but it suddenly occurred to me what was wrong. When I upgraded automatically, WordPress reinstalled a stock version of Kubrick. So I FTPed by back-up customized Kubrick, but instead of uploading it to my themes folder, I accidentally uploaded it into the preexisting default folder (so I had a default folder inside a default folder.

    The changes made in the dashboard theme editor were taking, but the theme that was displaying was the upper-level, unedited theme. All is fixed now.

    Thread Starter brittanie

    (@brittanie)

    I’m only doing this for one category, using conditional tags, and I know that category will never have a post that starts with anything other than a paragraph. Thanks for your help, this worked really well.

    Thread Starter brittanie

    (@brittanie)

    I did. I’m still getting both borders with every post instead of with every date call.

    I’m not sure if I’m doing it right though.

    What I want is the slanted-dash line right above every date, and the dotted line right above every post. So that dashed line should separate days and the dotted line should separate posts.

    The trouble is that I’m also using the AsidesShop plugin to style Twitter posts differently, so every style I apply to the style sheet also has to be styled in the plugin as well.

    But that doesn’t matter, because even the non-twitter posts are not styled like I want them.

    Here is my CSS:

    .dateborder{
    background: #fff url('https://rakka.tumblr.com/themes/3/stripes.gif') top repeat-x;
    }
    
    .postdate {
    font: normal 1.5em/120% 'Nimbus Sans L', helvetica, arial, sans-serif;
    text-transform: uppercase;
    color: #888;
    text-align: right;
    padding-top: 15px;
    margin-bottom: 10px;
    border-bottom: dotted 1px #bbb;
    }

    And here is my PHP:
    <div class="dateborder"><div class="postdate"><?php the_date('', '', '', TRUE); ?></div></div>

    I am self-taught at all this (and have learned only bits and pieces as I’ve needed them) which I why I’m not sure if what I’ve done is correct.

    I appreciate your help though!

    Thread Starter brittanie

    (@brittanie)

    Hmm, that didn’t work. I’m still getting the border between every post, not just on the first post.

    (Also, for some reason the align:right in my style sheet is not applying/working for the postdate class which is why I have it inline as well. Any help on figuring that out will be appreciated.

    Thread Starter brittanie

    (@brittanie)

    Here is the error:

    Parse error: syntax error, unexpected T_ENDWHILE in /home/rulebrit/public_html/wp-content/themes/tiny/index.php on line 67

    and this is what my code looks like:

    <?php
    
    // index.php
    
    // Tiny theme for WordPress
    
    // Copyright (C) 2005 Ben de Groot
    
    // Distributed under the terms of the GNU General Public License v2
    
    get_header();
    
    // Check if the sitemap is requested
    
    if ( isset($_GET['sitemap']) ) {
    
    	include('sitemap.php');
    
    } else {
    
    if (have_posts()) : while (have_posts()) : the_post();
    
    ?>
    
    <!— conversation —>
    
    <?php if ( in_category(4) && !is_single() ) : ?>
    
    <div class="post">
    
    <span class="permalink"> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">?</a></span>
    
    <div class="post_body">
    
    <div class="conversation">
    
    <?php the_content(); ?>
    
    </div>
    
    </div>
    
    </div>
    
    	<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link','bnTiny'); ?>: <?php the_title(); ?>"><?php
    
        the_title(); ?></a></h2>
    
    	<p class="posted"><?php the_time('j F Y'); ?> | <?php the_category(', '); ?> | <?php comments_popup_link( __('No Comments','bnTiny'), __('1 Comment','bnTiny'), __('% Comments','bnTiny') ); ?>
    
    	<?php edit_post_link($link = __('Edit','bnTiny'), $before = ' | ', $after = ''); ?></p>
    
    	<?php the_content(); ?>
    
    <?php endwhile; ?>
    
    	<p class="nav"><span class="prev"><?php posts_nav_link( '', '', __('« Previous Entries','bnTiny') ) ?></span>
    
    	<span class="next"><?php posts_nav_link( '', __('Next Entries »','bnTiny'), '' ) ?></span></p>
    
    <?php else: ?>
    
    	<p><?php _e('Sorry, nothing found.','bnTiny'); ?></p>
    
    <?php endif; ?>
    
    <?php
    
    }
    
    get_footer(); ?>

    Basically I am just trying to post that second snippet right inside The Loop, but no matter where I post it I get a syntax error.

    Thread Starter brittanie

    (@brittanie)

    I prefer to tweak the theme I am already using.

    Thread Starter brittanie

    (@brittanie)

    Nevermind. Fixed it myself.

    Thread Starter brittanie

    (@brittanie)

    I haven’t made a new page because I have several old pages. I have picked a few at random to test them out and none have worked. But other than that, yes, I have followed all the directions as above.

    My blog is not in it’s own directory. It is stored at the root directory on the site, so my blog and wordpress urls are the same (like MichaelH’s).

    ***

    Okay, something just occurred to me. I use the CQS plugin and have it set to display 5 most recent posts on the home page and 10 posts per archive page. I just de-activated the plugin and tried the static front page again and it worked this time, so there is some conflict between that plugin and this new feature.

    Otherwise, the feature works fine without the plugin and the plugin works fine in 2.1 as long as you don’t implement that feature.

    Forum: Plugins
    In reply to: Not upgrade to WP 2.1 yet?

    I use CQS and it still appears to work fine after upgrade.

    Thread Starter brittanie

    (@brittanie)

    Martinhipp, I figured that much out. When I tried to play around with it, basically doing what ekusteve suggested, nothing about my site changed at all. The home url still goes to the blog with yesterday’s post at the top, not to a static page, even after refreshing and cache-clearing.

    Thread Starter brittanie

    (@brittanie)

    As usual, you’ve rescued me. Thanks!

    Thread Starter brittanie

    (@brittanie)

    Actually, I just discovered the dfn tag, which does exactly what I’m trying to do.

    Thanks for your help tho…

    Forum: Plugins
    In reply to: Popup footnotes
    Thread Starter brittanie

    (@brittanie)

    Nevermind — I went with the much simpler use of title="..."

    Of course. I was drunk.

Viewing 15 replies - 1 through 15 (of 224 total)