flashpacker
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.the latter. I really appreciate you helping out ??
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.ok maybe you meant….
I use it on my tag pages, which I use instead of categories or date archives as the main archives.
I show 3 posts per page. Some are short 300 word ish posts, and others are 1200 words ish posts.
Without any styling the excerpts are unreadable because lines run together etc.
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.Sorry I don’t follow? I just pasted the new version into my functions.php? Did you mean something else? ??
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.Thanks for your help!
The first one results in only the title being shown unless a more tag is used in the post. If a more tag is used, the excerpt shows, but no tag or even dots show, its just blank after the excerpt.
The second one works for a static excerpt length and text, but I want to be able to use different more text on each post (for SEO purposes) and vary the length to enticing people to read purposes.
Thanks for the info about the other problem. I’d noticed problems with strong tags not being closed and the whole rest of the page being in bold!
I know the code I showed you had excerpt at 55 but I actually show a much longer excerpt so that short posts appear in full and only super long posts get cut off, which is partly why I don’t want to lose the styling.
I’d changed it back to 55 while I was testing some stuff out.Any ideas on how to get the first option to actually show the more text I have included in the tag, and to show a default length excerpt if no more tag is used?
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.… the para, strong and link styling. I obviously needed to read the info on posting code!
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.Thanks so much!
Paste bin –
https://pastebin.com/Kbmi6Hg1The main reason for using the custom function is so excerpts retain the <p> styling.
Forum: Fixing WordPress
In reply to: Using wp without .htaccess for apache performance. Possible?The point is to be able to set AllowOverride to None – this is what creates the performance boost! So apache doesn’t need to go looking for .htaccess files.
Forum: Fixing WordPress
In reply to: Using wp without .htaccess for apache performance. Possible?I’m on a VPS. I can edit it.
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.So the other problem could be that I’m using the custom function below.
Could that be what the problem is? (It’s a custom theme too)I was thinking that get_the_excerpt and the excerpt_more functions were different but the is the other possibility is that this is what’s stopping it working.
Thanks for your help ?? Really appreciate a random stranger trying to help!
[code moderated - please check the guidelines for posting code - https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]
Forum: Fixing WordPress
In reply to: Showing a read more tag after the auto generated excerpt.thanks for that doesn’t work for me. I already tried it.
I don’t find the info in the codex particularly clear (for this) but isn’t that for the read more tag that is manually inserted into posts?
I might be completely wrong but I was trying to figure out why it wasn’t working and that was what I came up with. Could that be the issue?
Forum: Themes and Templates
In reply to: building own theme for only pages not posts or commentsthanks sensei. That was a really useful answer.