Joe Ponzio
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Twitter Feed Widget inserts line breaks either side of hash tagsThis is because your sidebar links are block elements. In your CSS, you have:
#sidebar1 a, #sidebar1 li.recentcomments, #sidebar1 .textwidget, #sidebar2 a, #sidebar2 li.recentcomments, #sidebar2 .textwidget { border-bottom:1px dotted #000000; color:#A5A5A5; display:block; padding:3px 3px 3px 10px; }
This tells the browsers that any link in your #sidebar1 or #sidebar2 is a block element. That’s fine for your menu (in the right sidebar) where the user can click the menu “button” effect as opposed to only being able to click the menu text, but it is also the reason the twitter links are pushed to the next line. Your CSS is telling the browser that the links should be “block” elements in their own space as opposed to “inline” elements.
Separate the #sidebar1 css from the #sidebar2 css so you can tell the #sidebar2 links to be block elements, but not the #sidebar1 elements. Your CSS might look something like this:
#sidebar1 li.recentcomments, #sidebar1 .textwidget, #sidebar2 a, #sidebar2 li.recentcomments, #sidebar2 .textwidget { border-bottom:1px dotted #000000; color:#A5A5A5; display:block; padding:3px 3px 3px 10px; }
(Notice the missing “#sidebar1” from the CSS.)
Forum: Fixing WordPress
In reply to: URGENT – Error Message causing site crashWe’ll need to see your functions.php file in order to provide a fix.
Forum: Themes and Templates
In reply to: Permalink structureIsn’t that precisely what you (and many others) are doing by having your name linked to your commercial website? Should I copy and paste my entire tutorial here when a link is much easier?
I understand the spirit of a link policy (keeps sites and forums clean, though I couldn’t find anything in the rules prohibiting what I did here as I hardly spammed and just one of my 20 or so answers on this site have a link), but it’s a little nuts to say, “Go ahead and link to a helpful tutorial to answer a question…just don’t link to anything that you wrote or could possibly explain best to the asker.”
Forum: Fixing WordPress
In reply to: Expanding Post to Fit ImageIt will be in one of two places:
- in one of your theme files (like single.php), or
- in the plugin or function that generates the output for the page
I can’t tell exactly as I can’t see your theme and what plugins you’re using.
Forum: Fixing WordPress
In reply to: Expanding Post to Fit ImageYour image is being floated to the right and it is not cleared. (If that doesn’t make sense, don’t worry — read on for the fix.)
You content is held in a div with a class of article-page-contents
<div class="article-page-contents">
When you post your image and align it to the right, you need to “clear” it before closing the article-page-contents div.
Just before the closing div for the article-page-contents, but after all of your text and images, put this:
<div style="clear: both;"></div>
That will put your site back into the “flow” and extend that container past your picture.
Forum: Fixing WordPress
In reply to: Blog url is being added to the front of my hyperlinksYour links have two sets of quotes at the beginning and end of the URL. That is, they’re written as
<a target=""cb"" href=""https://1.artzy.pay.clickbank.net"">ADD TO CART</a>
They should read
<a target="cb" href="https://1.artzy.pay.clickbank.net">ADD TO CART</a>
Forum: Themes and Templates
In reply to: Permalink structureForum: Requests and Feedback
In reply to: My extreme frustration with Custom "Post" TypesI have to agree with this, but also throw in the fact that I would like to create a custom post type (that works in the loop) and set a default category.
For example, we have to tell clients, “Now remember. When you’re posting a news article, choose ‘News.’ When you’re posting a blog article, choose the ‘Blog’ category.” And so on. It’s not rocket science, but they inadvertently forget to choose a category and blogs and news end up as uncategorized (or whatever universal default).
I’d like to be able to create a “News” section with its own admin menu so clients could click, “Create new News” (or whatever), have it as a post with a default category of “News”. Same with one for “Blogs” and whatever other categories and defaults I like. Then, the ability to hide or eliminate the “Posts” section to keep confusion to a minimum.
I’m sure I can hack this together to make it work, but this is what I had envisioned/hoped would be out-of-the-box with WP 3.0.
Sometimes, the typical fix (delete whitespace, close last PHP tag, etc) doesn’t work (I’ve found). There’s just something with the functions.php file.
The Fix (sometimes): Open functions.php, copy everything, paste it to a new text document. Delete functions.php. Save the text document as functions.php.
This has worked for us in the past.
Forum: Themes and Templates
In reply to: Padding not found in my style.cssThis is in the ul of your top navigation menu, just below the div class=”container”, most likely in your header.php file.
Forum: Fixing WordPress
In reply to: Access to second database from php include breaks WP queries after.I’m sure someone else can offer more, but I remember reading somewhere that you can’t connect to a different database and then switch back. I refuse to believe that, but I can only image that you’d likely have to grab the query, close the WP connection, open your own connection, run your query on Table2, close the connection, and then reopen the WP query and rerun it from scratch.
Could you move the tables from the other database to your WordPress database or is that not an option? This would be significantly easier and would probably cause less server overhead.
Forum: Fixing WordPress
In reply to: Sidebar missing from ALL single postsWordPress, by default, doesn’t call singlepost.php but single.php. If you don’t have a single.php, rename singlepost.php to single.php. If you do have a single.php file, odds are it’s not calling get_sidebar() because the sidebar (and the div that clears it) are not showing up.
Forum: Fixing WordPress
In reply to: website access is very slowI agree with songdogtech. You don’t have any glaring issues with large images or overwhelmingly big javascript or CSS files that would cause a page to load slowly. Thus the problem is likely that your host’s servers are overloaded or generally slow.
From what I see in the code, your website should load fairly quickly — it’s probably time for a new hosting company or plan.
Forum: Fixing WordPress
In reply to: How to add another admin accountGo to your Dashboard, click Users, and then add a new user with the administrator role. Log out, and then log in with the new admin account.
Forum: Themes and Templates
In reply to: link color in comment areaYou would enter it in style.css. If the links don’t change color, it’s because the color (our changes) is being overridden. The problem is this line in your style.css:
#content a {color: #033;}
In your /* comments */ section of style.css, add
#content div.comment-remix-meta a {color: #0000ff;} #content p.comment-meta a {color: #0000ff;}
That should override the default link color setting.