Eric
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: Not receiving emailHere is a list of things to check:
- What version of WordPress are you running?
- Are there any errors in the server logs?
- Make sure the “To:” email is correct (check for trailing spaces)
- In smcf_data.php, change:
@mail($to, $subject, $body, $header) or die('Unfortunately, your message could not be delivered.');
to (remove the @):
mail($to, $subject, $body, $header) or die('Unfortunately, your message could not be delivered.');
Let me know if any of those help.
-Eric
Forum: Fixing WordPress
In reply to: evaluate if next_posts_link() will return resultsWell, I thought about what you said and have added a different solution. Basically, I decided, for paged entries, to just check $wp_query->max_num_posts to determine if there was more than 1 page.
I also removed the check for single posts, since, in my case, there will always be a next or previous post.
Thanks again for your input.
Forum: Fixing WordPress
In reply to: evaluate if next_posts_link() will return resultsGood point =) I’ve posted my solution. I’m not sure if it is the right/best way to do it, but it works for me!
Forum: Themes and Templates
In reply to: “Multipost” display navigationHmm…I was just checking out the code for posts_nav_link and it actually calls both next_posts_link and previous_posts_link.
So, I guess they are not deprecated, but wonder why it would be suggested not to use them…?
Forum: Fixing WordPress
In reply to: evaluate if next_posts_link() will return results@twistedtech – Thanks for the tip!
I was able to throw something together that fit my needs…I’m thinking I might even create a plugin. I’ll post back here with my solution.
-Eric
Forum: Fixing WordPress
In reply to: evaluate if next_posts_link() will return resultsSorry to dig up an old post, but I have the same question/issue.
I want to know if there are any previous or next posts…what is the easiest way to do this?
If there were a way to suppress the output of the calls like this:
$older = next_posts_link('« Older Entries'); $newer = previous_posts_link('Newer Entries »'); $show_nav = FALSE; if (strlen($older) > 0 || strlen($newer) > 0) { $show_nav = TRUE; }
That would be fine too. Basically, in addition to have_posts(), it would be nice to have a posts_count() or something like that.
Forum: Fixing WordPress
In reply to: WordPress as CMS, blog in sub-folderPretty cool…the reading options has allowed me to setup my root as one page and my blog as another. I was trying to make it a lot harder than it really is ??
Now I just need to work on the templates/design!
Thanks again for the help.
Forum: Fixing WordPress
In reply to: WordPress as CMS, blog in sub-folderSo, here’s what I’ve done:
– Installed WP in /blog
– Copied index.php into /
– Updated URL options to /blog
– Created a page, called Home
– Set Home as the front pageSo now when I go to /, I see the Home static page. But I also see it when I go to /blog.
So,
1) What do I need to do to make /blog display the most recent posts?EDIT – I got this one figured out. I just created a blog page (as suggested previously ?? ) and then changed my blog URL to /.
2) What is the best way to give each page a custom look and feel? Do I just assign them different templates?
Thanks for the help ??
Forum: Fixing WordPress
In reply to: WordPress as CMS, blog in sub-folderThat does help…thank you very much for the suggestions!
Forum: Fixing WordPress
In reply to: WordPress as CMS, blog in sub-folderI just started working with WP and am just curious if the above is easily possible…or if I need to find a different structure/method.
Forum: Fixing WordPress
In reply to: WordPress as CMS, blog in sub-folderThanks for the reply. I think I understand what you are saying, but am not sure if it solves my quest…
Here is what I would like:
– WP as a “CMS”
– WP under mydomain.com/wp < done
– mydomain.com/ < a static page rendered by WP
– mydomain.com/blog < WP posts
– mydomain.com/xyz < WP pages (about, contact, etc)