jamiew
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Image Borders with Rounded CornersThere’s a lot of questions in here, let me tackle one or two. First the simple part. To do what they do on lifehacker, you would edit your style.css file (in wp-content/themes/default) and add a line that looks something like this:
#content img {border: 5px solid #ddd; margin: 0 10px 5px 0; -moz-border-radius: 7px;}
What this will do is anytime there is an image in your post (the
img
tag) it will add a 5 pixel gray border, put some padding on the right and bottom, and then round the corners 7 pixels. That’s it, no html to add, no nothing else.That said, the rounded corners will only work in Firefox and other Mozilla browsers. IE has no support for such a thing. It’s possible to do, but it’s MUCH more complicated to do that the above. Google shows many hacks available: css rounded corners. BTW, I lifted the code for this on the site I’m working on right now straight from lifehacker.
Forum: Fixing WordPress
In reply to: Blogging via EmailI could never get the orginal wp-mail to work right. This replacement worked like a champ for me: https://www.economysizegeek.com/?p=421
My goal was to be able to blog via email from my Blackberry. And to the, “Why would you want to do that?” question… My wife delivered our 2nd child 3 weeks ago, and using my blackberry/blog combo, I was able to give regular status reports to friends and family without leaving my wife’s side.
Forum: Plugins
In reply to: Links within PagesWell I figured it out. The key was the PHPExec Plugin: https://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/
Here’s the exact code that makes it work once you install the plugin:
<strong>Family</strong>
<ul>
<phpcode><br />
<?php get_links(3); ?><br />
</phpcode></ul>
In action: https://www.jamieandholly.com/links
Forum: Plugins
In reply to: Links within PagesSorry my links were bad. I missed one letter in my URL. The should have been:
Website: https://www.jamieandholly.com
Links Page: https://www.jamieandholly.com/links
Recipes Page: https://www.jamieandholly.com/recipesThe goal is to be able to display a series of links, based on categories, within the main section of the page. For instance if my categories are Baseball, Basketball, and Football, I can build a page in WP called “Favorite Teams” that would have this content:
<Strong>Baseball
<contents of category of Baseball links>
Basketball
<contents of category of Basketball links>
Football
<contents of category of Football links>The goal being that when I get a new favorite team (in this example) I can simply add a link to that category and it is dymnamically added to that page.
So no, I am not trying to get links to show up the front page, I am trying to get them to build into a certain page. And yes, I have spent hours in the codex trying to find how to do this. Any other help?