1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need some html help-i think

Discussion in 'Black Hat SEO' started by taberdude2, Aug 30, 2009.

  1. taberdude2

    taberdude2 Junior Member

    Joined:
    Feb 15, 2009
    Messages:
    147
    Likes Received:
    326
    Hi all,

    I am trying to put up a music download site for my cpa offers. But I'm having a small problem.

    The site:http://www.audio-cart.com

    If you look under each post-it has the Rapidshare file url.

    And also I need something that says "Read the rest of this story." Under each post.


    So how do I get rid of the url and people can download the album.

    And where do I add the "Read the rest of this story." and make it a link?

    Also I do not have the protection box set up yet-that will come after I figure these 2 issues out.


    Here is an example site:http://getmydownloads.info/ of what I am trying to do.

    Thanks!
     
  2. MDSOperandi

    MDSOperandi Regular Member

    Joined:
    Jul 10, 2009
    Messages:
    226
    Likes Received:
    201
    Occupation:
    Senior Software Engineer / Internet Marketing
    Location:
    Australia
    Home Page:
    Hi, I'm not sure what you are using as a website builder but to place a link to a website you simply need to go

    PHP:
    <a href="http://www.google.com">Google</a>
    If you wanted to create a link to google for example

    Regards
    MDS
     
  3. taberdude2

    taberdude2 Junior Member

    Joined:
    Feb 15, 2009
    Messages:
    147
    Likes Received:
    326
    Hi,

    Thanks, I know how to create a simple link. I think I need to edit the wordpress template-somewhere and not sure where.:(
     
  4. keinehabe

    keinehabe Supreme Member

    Joined:
    Nov 4, 2008
    Messages:
    1,207
    Likes Received:
    472
    Gender:
    Male
    Occupation:
    -= CEO =-
    Location:
    Heaven
    Home Page:
    depend what theme you are using usually under single.php :) you can edit most of the things :)
     
  5. taberdude2

    taberdude2 Junior Member

    Joined:
    Feb 15, 2009
    Messages:
    147
    Likes Received:
    326
    This is my single php file below, where would you edit?

    <?php get_header(); ?>

    <div id="content">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">
    <h1 class="title"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
    <div class="entry">
    <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
    <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div>
    <div class="meta">
    <p>
    <small>
    This entry was posted
    <?php /* This is commented, because it requires a little adjusting sometimes.
    You'll need to download this plugin, and follow the instructions:
    http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    and is filed under <?php the_category(', ') ?>.
    You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.

    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.

    <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.

    <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link('Edit this entry.','',''); ?>

    </small>
    </p>
    </div>
    </div>

    <?php comments_template(); ?>

    <?php endwhile; else: ?>

    <p>Sorry, no posts matched your criteria.</p>

    <?php endif; ?>

    </div>
    <!-- end content -->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>
     
  6. keinehabe

    keinehabe Supreme Member

    Joined:
    Nov 4, 2008
    Messages:
    1,207
    Likes Received:
    472
    Gender:
    Male
    Occupation:
    -= CEO =-
    Location:
    Heaven
    Home Page:
    Code:
    <?php the_excerpt(); ?> 
    will display you first 180-200 chars from each post .
    Code:
    <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
    this is your code
    Code:
    <?php the_excerpt('<p class="serif">Read the rest of this entry »</p>'); ?>
    like that will need to be your code


    ps . best way to edit your themes at the start with no coding knowledge's it's just to take more themes and activate them one by one , then when you find a feature witch you like just trace the code and use on the theme witch you like lol . I`ve done that years ago when I started with wordpress since I don't know coding ;)
     
  7. taberdude2

    taberdude2 Junior Member

    Joined:
    Feb 15, 2009
    Messages:
    147
    Likes Received:
    326
    Could you try one more time to explain this, my daughter took my wp for dummies book out of town with her.:confused:

    More specifically- what line of code needs replaced with which code?