jimday1982
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Summary not workingYES! I can’t thank you enough for your help – this was driving me insane.
Problem solved!
And nope, you’re not going crazy…I edited it.
Forum: Fixing WordPress
In reply to: Summary not workingThe code I’m using is in the post above.
This seems to work perfectly if I replace the_permalink() with a hardcoded url…does the the_permalink() function not work in this file or something?
Forum: Fixing WordPress
In reply to: Summary not workingOk, I’m almost there. In function-formatting.php, I have the following line (I put the period in the href below so the code displays):
array_push($words, '[<a h.ref="' . the_permalink() . '">read more...</a>]');
But the link is not being generated correctly…if you look on my homepage (https://www.jimday.net), you’ll see the url appears above the excerpt. Not sure why, the code looks correct to me. Any thoughts?
Forum: Fixing WordPress
In reply to: Summary not workingMan, I am not doing good here. I went to edit that file, I uploaded it, and got an error…so I undid the change, reuploaded it, and now I keep getting this error:
Parse error: parse error, unexpected T_LNUMBER in /home/jimday/public_html/wp-includes/functions-formatting.php on line 84
I’m not understanding this because I uploaded the file unaltered…is there something out of the ordinary that I need to do to this file or something?
EDIT: Well, I deleted that function alltogether, so at least my site is back up : /
Forum: Fixing WordPress
In reply to: Summary not workingYes, I know about that, but I’m trying to replace the elipses immediately after the excerpt. I’m guessing that the only way to do this is to edit the function that creates the excerpt…I just can’t find it…
Forum: Fixing WordPress
In reply to: Summary not workingYou were right on! I simply added a single.php file in my new theme directory, modified it a little, and now it’s working as it should.
My only other question is, which file do I have to edit to create a link to the full post on my index.php page instead of just the elipses? I searched all the include files, but I’m not seeing anything…
Thank you for your help by the way, it’s much appreciated.
Forum: Fixing WordPress
In reply to: Summary not workingAh, ok, that explains the option in the admin section. What doesn’t make sense though is that when I go to index.php and replace the_content() with the_excerpt(), it creates the excerpt on BOTH index.php and the post page (where it should be the full post). Perhaps I’m editing the wrong file? Any ideas?
You can see what’s happening at: https://jimday.net/