dominoeffect
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?This turned out to be quite easy actually. If I were more experienced with css I might have got it sooner. I code I went with, (which worked perfectly), was this:
<span style="display:inline-block;float:left;"><a href="<?php the_permalink() ?>"><?php the_author(); ?>: </span><?php the_excerpt(''); ?></a>
Thanks again for your help.
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?Thanks, I’ll give that a shot and post the results.
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?That still doesn’t work; actually though the previous code did work by wrapping the author name to the title, but it was indeed the wrong element.
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?Afraid that still isn’t working, thanks though.
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?Thanks for the response, I’ve implemented it on the above link but unfortunately it hasn’t had an effect.
Any further ideas are most welcome ??
(Sorry for the late response, I haven’t been at my comp all weekend.)
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?Oh sorry, please try again now. ‘Latest posts’ section is the relevant part. Yep excerpt and author are there.
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?The obvious solution would be to look at reformatting the display using CSS but, without seeing the page, I can’t tell if that’s possible.
I’ve upped the theme here — ignore the broken images and so on as this page is contentless, unlike the actual site. How do you think CSS might be used?
Thank you.
Forum: Fixing WordPress
In reply to: Must the_excerpt start with a line break?Hi emsi,
It will happen on any website: if you put content before of after the_excerpt, the excerpt puts itself on a new line.
E.g. the code:
before<?php the_excerpt(''); ?>after
will display the following:
before the excerpt content yadda yadda... after
Any help on how to remove this line break would be most appreciated.
The website in question is being developed on a private server so I’m afraid I can’t offer a link.
Forum: Fixing WordPress
In reply to: 404's on wp-admin and wp–comments-post.php…Thanks for the tips. I’ve ruled out 1, 2 and 3. The .htaccess file in the root dir contains the following (followed by some redirects, which I’ll assume are irrelevant for now):
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /foo/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /em/index.php [L] </IfModule> # END WordPress
Btw, just noticed the ‘Rewrite Base /foo/’ line, no idea what that’s about, but removing the ‘foo’ doesn’t resolve the problem.
Also, my post from y’day might provide some more insight: https://www.ads-software.com/support/topic/500-error-on-permalinks?replies=2
Forum: Fixing WordPress
In reply to: 404's on wp-admin and wp–comments-post.php…Which part specifically?
The entire server was mirrored on to the new one, so there should be no changes in setting I don’t think?
Forum: Fixing WordPress
In reply to: 500 Error on permalinks!Resolved: deleted index.php from subsdirectory (/em/). Delete thread?
Forum: Fixing WordPress
In reply to: Can't insert Youtube on Home Page but appears in postCool. How do I disable _excerpt();?
Thanks.
Open up the theme file index.php in a text editor, do a search for the_excerpt, and change it to the_content. That should sort it out.
Forum: Fixing WordPress
In reply to: Can I delete original site after implementing 301 redirects?Yeah I seen your point. I’m actually having some problems with 301’s taking effect with a couple of test redirects I tried out, so I’ll have to see if I can sort that out before I proceed anyway.
Thanks for the input and I’ll keep this thread updated.
Forum: Fixing WordPress
In reply to: Can I delete original site after implementing 301 redirects?simplistik, I was taking my info from this google webmasters post:
Don’t do a blanket redirect directing all traffic from your old site to your new home page. This will avoid 404 errors, but it’s not a good user experience. A page-to-page redirect (where each page on the old site gets redirected to the corresponding page on the new site) is more work, but gives your users a consistent and transparent experience.
Do you think I’ve interpreted it wrongly?
Thanks for the help.
Forum: Fixing WordPress
In reply to: Moved entire blog now Special Characters won’t display rightSorry for the late reply.
I ended up using the Search & Replace plugin – I figured it was less of a risk than reuploading the entire database again. Great plugin, thanks for the reccommendation.
There are actually a surprising number of foreign characters on my blog and some still remain, so I will try out your suggestion Helil.
Thanks for the help.