toe
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: “?£” appears in my posts as “???£”Thankyou, works now, quick reply, thanks.
Forum: Themes and Templates
In reply to: Obliteration2fargon, I managed to successfully eradicate the uneeded parts of the front page, now it has no actual stye to it, any ideas how I can add the color back to it.
Modified:
<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_date(”,'<h2>’,'</h2>’); ?>
<div>
<h3 class=”storytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark”><?php the_title(); ?></h3>
<div class=”meta”><?php _e(“Filed under:”); ?> <?php the_category(‘,’) ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__(‘Edit This’)); ?></div><div class=”storycontent”>
<?php the_content(__(‘(more…)’)); ?>
</div><div class=”feedback”>
<?php wp_link_pages(); ?>
<?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?>
</div><!–
<?php trackback_rdf(); ?>
–></div>
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?><?php posts_nav_link(‘ — ‘, __(‘« Previous Page’), __(‘Next Page »’)); ?>
Unmodified:
<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_date(”,'<h2>’,'</h2>’); ?>
<div>
<h3 class=”storytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark”><?php the_title(); ?></h3>
<div class=”meta”><?php _e(“Filed under:”); ?> <?php the_category(‘,’) ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__(‘Edit This’)); ?></div><div class=”storycontent”>
<?php the_content(__(‘(more…)’)); ?>
</div><div class=”feedback”>
<?php wp_link_pages(); ?>
<?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?>
</div><!–
<?php trackback_rdf(); ?>
–></div>
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?><?php posts_nav_link(‘ — ‘, __(‘« Previous Page’), __(‘Next Page »’)); ?>
Hope that is clear?
Forum: Themes and Templates
In reply to: ObliterationIs this loop just for the news, I dont want the side navigation, I dont want all the fancy graphics, all I want to do is add a news feed to https://www.mistix.info, as you can see its got news down the middle, I want this to be done by WordPress, instead of the current way which I hae updated by hand.
If I could just get the main stuff, like the news, the next and previous and the comments. I need this basic parts so I can add news on the main site instead of pointing to https://www.mistix.info/wordpress/
Being able to do some kind of include would be great.
Forum: Fixing WordPress
In reply to: Custom TemplatesHi, is it not possible to have the style I have on https://www.mistix dot info,
I would like to keep the style or as a last resort, have just the wordpress style blog seperated by perferated lines.
Or, how can I take out the template so that I can do a serverside include for the news and make a frame in the middle of my website and just insert that feed?
Thanks again.
Forum: Installing WordPress
In reply to: Error establishing a database connection[Moderated — please ask a new question in a new post]
Forum: Installing WordPress
In reply to: Error establishing a database connectionOk, this is now what I tried:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘website_wordpress’); // The name of the database
define(‘DB_USER’, ”website_wordpress’); // Your MySQLusername
define(‘DB_PASSWORD’, ‘pass’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value// Change the
prefix if you want to have multiple blogs in a single database.
$table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’// Change this to localize
WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ”);/* Stop editing */
define(‘ABSPATH’, dirname
(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>And I get this error:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost.Any ideas?