nakedape
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Mangaing my text, adding a pic as background1. Go to code editing mode and wrap each paragraph in
<p>
and</p>
like this:<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi dictum sagittis odio. Suspendisse in purus sed tellus luctus aliquam. Sed ornare malesuada ligula. Maecenas eget lacus. Aliquam enim risus, egestas non, vestibulum sed, varius non, ipsum. Integer diam. Duis auctor. Aliquam tristique lorem ut nulla. Mauris sit amet mauris. Nam euismod neque id arcu.</p>
<p>
Suspendisse at est. Etiam ultrices elit in nisi. Nunc pede risus, semper et, nonummy a, condimentum eu, magna. Nam urna. Proin arcu. Duis aliquam, turpis fermentum mattis blandit, leo purus placerat lacus, sit amet dictum ligula mauris at quam.</p>
That will format them as paragraphs that can be styled with css declarations.
2. You need to add the following to your css, and the location to which you need to add it depends on whether you want the background to cover the entire browser window, or just the main 760-odd-pixel-wide container. This is what you need to add if you want background to whole window:
body { background: url(https://locationofimagefile.com/location/location.jpg #ffffff 50% 50% no-repeat; }
but some styles may already exist for the
body
selector, in which case just slot this:background: url(https://locationofimagefile.com/location/location.jpg #ffffff 50% 50% no-repeat;
in.This assumes you have an image that you want centered horizontally and vertically, and that you do not want to repeat horizontally or vertically. The #ffffff will fill any areas of
body
that are not ‘covered’ by the image, in white.There really is too much to explain to put it all here… if you have no experience with css you need to google something like “css basics”.
3. What ruler?
good luck
– John
Forum: Fixing WordPress
In reply to: how to show posts only from one catI’m sorry I think I made a mistake…
change
category_name
tocategory
and then use the category id number after the
=
.That should work.
Forum: Installing WordPress
In reply to: Blank page after installingCan you show us what is present on line 105 of wp-settings.php?
edit: actually, I can see for myself. Will take a look.
edit more: hi again, I’m not too sure about this, see here for a previous thread, which may or may not help https://www.ads-software.com/support/topic/67726?replies=4
Forum: Fixing WordPress
In reply to: broken in firefoxNice work!
and you’re welcome.
– John
Forum: Fixing WordPress
In reply to: how to show posts only from one catHow about something like this?
<?php $posts = get_posts( "category_name=whatever" ); ?> <?php if( $posts ) : ?> <?php foreach( $posts as $post ) : setup_postdata( $post ); ?> <div class="post"> <h3><a href="<?php echo get_permalink($post->ID); ?>" ><?php echo $post->post_title; ?></a></h3> <?php the_content(); ?> </div> <?php endforeach; ?> <?php endif; ?>
Forum: Fixing WordPress
In reply to: broken in firefoxYeh, looks fine, but when you cut styles out of style.css and paste inline, the site looks fine. Also, I’ve saved the html source of your homepage and the css and used a relative link to the css… that also worked fine.
Try replacing the php link to the stylesheet with
"/wp-content/themes/default/style.css"
. It’s not a good long-term fix, but may do the trick in the meantime, and might help pin down the actual problem.Forum: Fixing WordPress
In reply to: broken in firefoxSomething weird going on with your link to the stylesheet… in your header, does the href to style.css look like this?
"<?php bloginfo('stylesheet_url'); ?>"
Forum: Fixing WordPress
In reply to: how to show posts only from one catIf you want to do that elsewhere, you can stick this in the ‘loop’:
<?php query_posts("cat=
X"); ?>
, where X is the id number of the desired category. You can also use: category_name=blah
where blah is the name of your desired category.Does that work for you?
Forum: Fixing WordPress
In reply to: broken in firefoxThat all depends on what is broken.
Link me your blog if you like and I can take a look.
It’s a good practice to build your site to look right in the most css-compliant browsers (e.g. firefox) first, and then provide fixes until it is also acceptable in less compliant browsers (e.g. IE)
– John
Forum: Everything else WordPress
In reply to: <!-more> tag strips my sidebarYou’re welcome, good luck with your site!
– John
Forum: Fixing WordPress
In reply to: Edit my RSS feed nameI’ve tested that, didn’t work for me…
more info about that here: https://www.ads-software.com/support/topic/96571?replies=8
Forum: Everything else WordPress
In reply to: <!-more> tag strips my sidebar(I think you already updated the first, from when I told you to paste over the original single.php earlier, so if you can’t find that code, this is why).
Forum: Everything else WordPress
In reply to: <!-more> tag strips my sidebarAbove, where you posted the content of single.php, you will see these lines:
<h2 class="posttitle">" rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></h2>
and
<p class="postfeedback"> " rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>" class="permalink"><?php _e('Permalink'); ?>
These need a little work…
try replacing the first with:
<h2 class="posttitle"> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
and the second with:
<p class="postfeedback"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></p>
– John (yes I’m a man lol)
Forum: Fixing WordPress
In reply to: DisappearedShow me what is in line 10 of /home/emmanue5/public_html/wp-includes/query.php
Forum: Everything else WordPress
In reply to: <!-more> tag strips my sidebarTry fixing line 211 in comments.php….
Fatal error
: Call to undefined function: comment_favicon() in
/home/daniel/public_html/blog/wp-content/themes/almost-spring/comments.php
on line
211
I think this is stopping the parsing of the php a bit early…