bekabug
Forum Replies Created
-
Forum: Themes and Templates
In reply to: My posts go down because of the sidebar – Please Help Me.post
Remove float:right
Should be good to go after that. Double check in IE though; I’m using FF on a Mac
On the homepage you’d only have a previous link since the one being displayed is the most recent. On your permalink pages you’d use the previous_post_link the way the documentation says.
So here’s how i did it…
<?php $prevposts = get_posts('numberposts=2&offset=1'); foreach($prevposts as $post) : setup_postdata($post); ?> <h3><a href="<?php the_permalink(); ?>" id="prev-post-<?php the_ID(); ?>"><?php the_title(); ?></a></h3> <?php endforeach; ?>
I tested this on my blog…worked like a charm.
https://codex.www.ads-software.com/Template_Tags/get_postsForum: Themes and Templates
In reply to: My posts go down because of the sidebar – Please Help Mediv class=”archive-stack clear”
that is pushing your content down
Forum: Themes and Templates
In reply to: Extending and dividing the main content bodyIs this the theme you’re using?
Forum: Themes and Templates
In reply to: Custom fields not working – Wynton Magazine themeSorry I didn’t see the replies.
https://wp-themes.der-prinz.com/wyntonmagazine/wp-content/uploads/2008/02/leadimage.jpg
Ok. If you look at that link, you can see that it’s going to uploads/2008/02. You need to turn that off. Next, upload a file named testinglead.jpg
When you fill in the custom field you just put in the file name. No path. No http. Nothing but the file name.
testinglead.jpg
If you put the full path in the custom field the source of the image is going to look like https://wp-themes.der-prinz.com/wyntonmagazine/wp-content/uploads/https://wp-themes.der-prinz.com/wyntonmagazine/wp-content/uploads/2008/02/leadimage.jpg
Which, for hopefully obvious reasons, won’t work. The theme is already telling wordpress the path it needs to look for the image, you just need to tell it which image.
Make more sense?
Forum: Requests and Feedback
In reply to: Fatal error: Only variables can be passed by reference in…https://codex.www.ads-software.com/Migrating_Plugins_and_Themes_to_2.7
I had issues with this as well
Forum: Installing WordPress
In reply to: Non-WP Directory Redirects to home page after 2.7 UpgradeThis is pretty typical.
Do you have an .htaccess file in your secure directory?
Forum: Installing WordPress
In reply to: Starting OverUpgrading won’t destroy your entries. If your database needs to be upgraded it’ll take care of it for you. From there, find a new theme and activate it. ??
Forum: Installing WordPress
In reply to: home page set upGo to Settings > General and name your blog.
If that doesn’t work then the theme author is doing something off the beaten path and I’ll need a little more info to help you.
Forum: Themes and Templates
In reply to: Custom fields not working – Wynton Magazine themeAlso, it is assuming that you are uploading using WordPress.
If you are not using the WordPress media gallery and are uploading your images manually the easy way to fix this would be to put your images in the upload path or change your upload path to where you are putting your images.
The harder way would be to modify the theme if you needed to keep these uploads and your media gallery separate.
From that point all you should have to put in the custom field is filename.jpg (case sensitive)
Forum: Themes and Templates
In reply to: Custom fields not working – Wynton Magazine themeTry this…
Go into Settings > Miscellaneous >
and then uncheck “Organize my uploads into month- and year-based folders”
Via FTP, go into your uploads (wp-content/uploads by default) and put all your images into the root of uploads.
echo get_option('upload_path');
From what I can see, if you have that organize my uploads option turned on, there would be no way for it to know when you uploaded the Leadimage and the path would be incomplete.Forum: Themes and Templates
In reply to: Extending and dividing the main content bodyEr. I really hate that you don’t get a preview before posting…
https://codex.www.ads-software.com/Function_Reference/WP_Query
Forum: Themes and Templates
In reply to: Extending and dividing the main content bodyForum: Themes and Templates
In reply to: Some sites for theme/php learning?https://codex.www.ads-software.com/Template_Tags
for learning how themes work. This is really the best place to start.Find a theme you like and just start taking it apart. Read the code and read the codex.
Having said that…I learned way more by making my own theme. Start here and work your way up if that interests you.
https://www.ads-software.com/extend/plugins/comment-count/
A plugin for counting comments.Forum: Themes and Templates
In reply to: Logo is cut off…#header h1 a in style.css
change width to 300px