tyh
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 403 Forbidden (archives page)Looks like I solved my own problem.
Seems like there was a conflict with the page /archives and folder called vf/archives. I had folder vf/archives renamed to vf/archive, and changed all corresponding url that referenced vf/archives.
Forum: Fixing WordPress
In reply to: 403 Forbidden (archives page)My archives page http://ayutheos.uni.cc/vf/archives/ is a page template, which directs to the folder /vf/archives on my server.
When I change the permalinks setting to default (http://ayutheos.uni.cc/vf/?p=123), I can access the page via http://ayutheos.uni.cc/vf/?p=296.
Currently using permalink setting Month & name.
Forum: Fixing WordPress
In reply to: ‘Raw’ link to previous/next postWant to put the link in the code
location.href=(link)Using get_previous_post() gives
location.href=('')while using previous_post_link() gives
location.href=('« <a href="http://mysite.com/link">Post title</a>')Have tried putting ‘echo get_previous_post()’ which gives
location.href=('Object')Any ideas?
n.b. In above post,
Have tried various tags, but they all return .
should be
Have tried various tags, but they all return<a href="http://mysite.com/link"></a>.Forum: Themes and Templates
In reply to: Thumbnails in archives pageOrchidRed,
I use css to make the image thumbnails to go across. I have my thumbnails images set to float left, inside a container of a certain width. Hope this helps.Forum: Themes and Templates
In reply to: Using meta in headerThanks! Works perfectly.
Forum: Your WordPress
In reply to: visual fragmentsOops…link to site visual fragments
Forum: Fixing WordPress
In reply to: Add functionality to Upload function in WP1.5.1Works for me in 1.5.1.
Forum: Fixing WordPress
In reply to: Solution to fix previous_post funtion in WP1.5.1Thank you so much Pat! Works like a charm!
Forum: Themes and Templates
In reply to: Previous & Next links to show on index.phpYes, previous_post/next_post worked when I was using 1.5, but not when upgraded to 1.5.1.
At index.php I’ve used both <?php posts_nav_link(”,”,’previous .’); ?> (showing the word ‘previous’) and <?php previous_post(‘%’, ‘prev . ‘, ‘no’); ?> (showing the word ‘prev’), and only one of them comes up – post_nav_link when at main site, previous_post when at single post.
There is a link back to the homepage – clicking on the site title at the top will bring you back to the beginning. 🙂 Guess didn’t make the link back home more obvious.
Lorelle, my permalinks are working fine. Have updated them, as suggested but that doesn’t solve the problem.
Forum: Themes and Templates
In reply to: Previous & Next links to show on index.phpThanks Axo1ot1. It’s actually a very basic stripped-down theme, modified from the classic theme. Took out out sidebar, using custom posts per page plugin to show 1 post, thumbnail archives using excerpts, a modified upload code available at blueblurry.com. And that’s it. 🙂
Am still very much a beginner at using WP, though this forum is a great place to get help from more experienced users.
Anyone else have a solution to my problem? Is it possible to show permalink to previous post in the index page?
Forum: Themes and Templates
In reply to: Previous & Next links to show on index.phpHmm..that doesn’t seem to help, but thanks for the link though Lorelle.
To clarify things a bit, instead of previous link showing “mysite.com/page/2” I want it to show “mysite.com/permalink/to/previous/post”
Forum: Themes and Templates
In reply to: Previous & Next links to show on index.phpYes, but then the link would show
ayutheos.uni.cc/vf/page/2. Would like to get the link to link directly to the previous individual post.Would there be a way to get permalink for the post before eg. <?php the_permalink(
current post - 1); ?> ?Forum: Themes and Templates
In reply to: Previous & Next links to show on index.phpSo how do I put a link on the main page to go to the previous single post? Do I use the permalink for previous post?
Thanks for your comment on site! Am really enjoying posting to new site using WP, having previously used MT.
Forum: Fixing WordPress
In reply to: Show comments on index.phpLink to site, if anyone wants to look http://ayutheos.uni.cc/blog_wp
Forum: Fixing WordPress
In reply to: Show comments on index.phpI’ve tried putting all the codes in comments.php into index.php, but no go.
I find that adding
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
and
<?php comments_popup_script(400, 500); ?><?php comments_popup_link('No comments yet', '1 comment so far', '% comments so far (is that a lot?)', 'comments-link', 'Comments are off for this post'); ?>
in index.php only shows up while in index and not in individual posting.I want to have the post (set to show 1 post per page) on index to show together with the comments. Is this possible?
Can anyone help?
TIA.