jon1938
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Making a custom page template post query<?php
$wp_query = new WP_Query();
$wp_query->query(array(‘category__and’=>array(3), ‘showposts’=>5, ‘paged’=>$paged)); $more = 0; ?>This worked displays Category 3, 5 posts per page. The $more = 0; at the end ensures that the “read more” link shows. Hope this helps someone in the future.
Forum: Themes and Templates
In reply to: Hybrid Custom Query page questionYeah been thinking about it. The site I’m working on is for a non-profit… Maybe if they pay me 😉
Forum: Themes and Templates
In reply to: Change the RSS icon in 2.9I’m certainly no pro, but I just had to fix this same thing due to the 2.9 update. It reverted it back to default for some reason… So I’d suggest taking out a pad of paper and noting this since future updates may revert it.
Go to your wp-includes folder and find the images folder in there. There’s a file called “rss.png”. That’s the file that wordpress uses for that little rss feed icon in the default widget.
If you want to do more customization you can go the CSS route (by calling the class) or edit the default-widgets.php file itself (probably normally better to edit the CSS file). But you can edit the PHP file directly too. To do that, just go into the default-widgets.php file and look for the code relevant to the rss widget. Just do a search for “rss.png” within the php file since we know that’s the image file the php file uses. In there you’ll find the code that controls the formatting, etc.:
…
“<img style=’background:orange;color:white;border:none;’ width=’14’ height=’14’ src=’$icon’ alt=’RSS’ /> $title“;
…
Just change the background:orange to background:none (or whatever color you want it to be) and you’re done. Also, note the height and width is set to 14 pixels. That, of course, can be changed too… Anything can be… as I’m sure you now understand. As I mentioned above, you would probably be better served to just edit the CSS file. If you have issues with that this will always work. Hope that helps.
Forum: Themes and Templates
In reply to: Leviathan Theme and Overflowhtml { min-width: 960px; }
at the top of the css fixed it. Now it correctly gets the horizontal scroll bar once the window gets smaller than 960px.
hmmm, no I don’t think that will work because I need it to change to the correct button (login or logout) depending on whether the user has logged in.
ahh thanks I will give that a try.
http://www.atroxen.com/jzschau/
Right now I have it in the sidebar. I am trying to move it to the menu bar (aligned far right).
But I am trying to add it to the page menu. Not just the sidebar.
Forum: Themes and Templates
In reply to: Author Bio in Atahualpa…. i think i figured it out…
Just put 2 </div>’s before the code for the bio. That seems to have worked 😀