• Resolved sirps

    (@sirps)


    hello,
    anyone know how to remove the ‘by admin’ line here?
    cheers
    x

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter sirps

    (@sirps)

    look for

    BY <?php the_author_posts_link(); ?> in your index.php delete or comment it

    <!-- BY <?php the_author_posts_link(); ?> -->

    Thread Starter sirps

    (@sirps)

    Thanks! But it’s not there, the only mention of author in the index.php is;

    <? if ($qunt_author_disable == “false”) { ?>

    <p class=”byline”><span class=”author vcard”><?php printf( __( ‘By %s’, ‘quentin’ ), ‘ID, $authordata->user_nicename ) . ‘” title=”‘ . sprintf( __( ‘View all posts by %s’, ‘quentin’ ), $authordata->display_name ) . ‘”>’ . get_the_author() . ‘‘ ) ?></span></p>
    <? } else { } ?>

    which gave me a nosebleed, anyone?
    cheers!

    There is an options page, but all you will find there is a choice of three color schemes, and a question about showing the byline after the headline.

    from the theme authors home page

    looks to me like you should have an options menu in your admin under appearance that turns off the byline….which looks to be what displays the author info

    Thread Starter sirps

    (@sirps)

    HUZZAH!
    Brilliant stuff, thank you sir!
    Now if I could just get rid of that blasted line…

    which line? you’ve got 3…. under the header, beside your sidebar, or above the footer?

    if it’s the line under the header…. it’s an image called quentin-head.gif

    should be in the images folder from that theme. you could go about editing the pic so the line isn’t there…. or possibly in your layout.css file in the theme you have

    #header {
    	margin: 15px 0 30px 0;
    	padding: 1px;
    	height: 160px;
    	background: url(../images/quentin-head.gif) no-repeat center bottom;
    }

    I’d venture you could delete the background: url(../images/quentin-head.gif) no-repeat center bottom; portion to no ill-effect

    (of course….make backups before changing things in case I’m wrong….its early and I’m still on my first cuppa coffee)

    Thread Starter sirps

    (@sirps)

    Thanks!
    It was the vertical to be honest, was wanting just a nice plain thing to work on!
    If you’ve got any ideas I’d be grateful!
    Cheers
    D

    ahhh….the vertical line is a border, in the same stylesheet I mentioned above, its this line

    #content{ padding-right:24px;margin-right:25px;border-right:1px solid #A99880; }

    you could delete the border-right:1px solid #A99880; to get rid of it.

    Now are you trying to just get rid of the line, or the whole sidebar? Cuz if you want the sidebar gone and the post content to fill the width of the page, its going to take some fairly heavy mods….

    Thread Starter sirps

    (@sirps)

    I was hoping to yes, and yes I was in my newbie mind wondering when someone was going to tell me that one! Any thoughts on what I could do?
    D

    well….its hard without seeing the code for your index.php (don’t forget page.php, single.php, possible archive or category.php if you want the sidebar gone in all views)

    you have to delete the call to the sidebar, usually <?php get_sidebar(); ?>

    now that clears oput the sidebar, but it won’t allow the content area to grow necessarily

    for that you have to find the div related to your content and widen it to fit into the wrapping div

    your theme confuses me a bit….but thats cool.

    You have an outer wrapper, which is 710px
    you have an inner container which is 760px……see why I’m confused?

    you have a content div that is 470px

    On first glance, it looks like you could get rid of the sidebar call, and edit .span-12, #content {width:470px;} to be somewhere around 700px

    But its hard for me to be exact without better tools at hand…. I’m just kind aeyeballing it here

    Now if you don’t plan to remove the sidebar on everything, its harder….as #content is shared by your posts, pages, etc. So if you left the sidebar in some areas and widened #content…it would jack up some of your layout

    So to just affect your index.php youd have to do something like change #content to #content2 and copy the css in your stylesheet, changing the name to the new div id

    confusing yet??

    Thread Starter sirps

    (@sirps)

    hell yeah that hurts!
    how much time do you think it would take someone who knows what the hell they were doing to work it out?
    would rather toss someone a few bucks than spend the next three months trying to suss it! though if I have to…
    big thanks by the way!

    Thread Starter sirps

    (@sirps)

    Had a look at it in the cold light of day, rather than after a lengthy liquid lunch, sorted!
    Smashing!
    Cheers fella!
    D

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘remove ‘by admin’ line’ is closed to new replies.