Forum Replies Created

Viewing 15 replies - 346 through 360 (of 1,003 total)
  • Forum: Fixing WordPress
    In reply to: Help with tags

    Give this a try on a test page and see if it helps: [Just change the cat ID to suit]

    <?php $posts = get_posts( "category=1&numberposts=1" ); ?>
    <?php if( $posts ) : ?>
    <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
    <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><h3><?php the_category(',') ?><?php edit_post_link('...', '', ''); ?></h3>
    <?php the_content(__('more')); ?>
    <?php the_tags(); ?>
    <?php endforeach; ?> <?php endif; ?>

    and again

    <?php $posts = get_posts( "category=2&numberposts=1" ); ?>
    <?php if( $posts ) : ?>
    <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
    <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2><h3><?php the_category(',') ?><?php edit_post_link('...', '', ''); ?></h3>
    <?php the_content(__('more')); ?>
    <?php the_tags(); ?>
    <?php endforeach; ?> <?php endif; ?>

    I haven’t tried it with the Tag addition, but I can no reason why it woudn’t work.

    I downloaded WordPress to my website

    Have you installed WordPress?

    And to use it in the fashion you suggest, you would probably be best just making a clean install in a subdomain/directory and linking to it from your main website.

    How are you calling it?

    use something like:

    <?php include (TEMPLATEPATH . '/2ndsidebar.php'); ?> with the appropriate name convention and it should work.

    .postlist li {list-style-type: disc; }

    Add a class to your <ul> such as <ul class="postlist"> and then in your css add the following:

    .postlist {list-style-type: disc; }

    Oh and manually remove the § from your list entries.

    [Moved to How-To and Troubleshooting]

    If you would like to email me, I can take a look for you.

    shadow12 gmail

    Forum: Fixing WordPress
    In reply to: Article Links

    As I say, a bit painstaking in the copy/paste department, but open a post – copy the content to a page – save with exactly the same title – delete the old post.

    In your sidebar you place some code – a call to your pages – and as each page is completed, it will show as a part of the page list.

    <?php wp_list_pages('depth=1&title_li='); ?> which can be styled using your CSS will list the pages.

    Themes are stored in the wp-content/themes directory. Go in and examine one and see how it is set up. On a basic level most have a header.php, an index.php [body] and a footer.php.

    Other elements such as sidebars are called in using a mix of CSS and php/html.

    Need more info? Just keep asking 🙂

    Forum: Fixing WordPress
    In reply to: Article Links

    At the moment, every post is contained within a single category called ‘Articles’.

    Posts are placed into the site in a chrolological fashion,so any written in September will show in that archive and any in July in that archive and so on…

    What may be a more suitable option [in light of what you are seeking] is to make each post a page instead. This involves a bit of cut and paste work, but then you will have each article with its own title, contained by istelf. You can call the pages automatically into a list in your sidebar and this will list every article for ease of navigation.
    It will also rectify the issue of long pages of posts [with each one being long by itself already].

    There are other options too of course, but this may sut your needs.

    A lot of the css code is left open. First, perhaps go through your code and close any that are missing with a ;

    Still happening? If so, tried CTRl F5? Also checked your database settings are all correct?

    Not to put you off with more reading, but perhaps take a look through this section in the documents and see if that helps.

    http://codex.wordpress.org/Blog_Design_and_Layout

    And start to play with WP, keep asking questions here, and you will soon see how it all works.

    Forum: Plugins
    In reply to: online contact form

    A lack of reply is not always a true indication of not wanting to help.

    I personally have not come across an online contact form that does what you need. But, be patient – someone else may know of something that can help you.

    Summary of problems/fixes:

    3 installs in varying locations on 1 domain.

    Removed 2 and kept 1 in place.

    siteurl and home pointing to different installs – changed to point to only 1 relevant location.

    Themes doubled and located in wrong places. Moved to correct location of root/wp-content/themes/

    Upgraded to 2.3

    I can see the default theme. Are you only experiencing this with your new theme in place?

Viewing 15 replies - 346 through 360 (of 1,003 total)