theiconoclast31
Forum Replies Created
-
Forum: Plugins
In reply to: Custom template tags in my pluginGot it.
For anybody curious, here’s the code I used:
global $icono_plugin; $settings = $icono_plugin->getAdminOptions();
Forum: Developing with WordPress
In reply to: Attachment’s corresponding post’s ID –> PHP Variable?Okay, I’ve made some progress, and I can get the GUID of the attachment. With the GUID, can I get the post_parent (by querying the database)? I’m currently trying:
$thisPostID = $wpdb->get_var("SELECT post_parent FROM $wpdb->posts WHERE guid='$thisGUID'");
But I keep getting
Fatal error: Call to a member function on a non-object
.Well, you’d just use something like:
strike { color: #ccc; }
and for bold, italics, you’d usei
andb
instead ofstrike
.Forum: Plugins
In reply to: New plugin: Post Thumbs@theiconoclast31
What does it look like when you set the resize to 75×75 in the options panel? And if you tick crop exact in the options panel? On your site it looks like the image is cropping to the size. What does the full image look like?I played around with the PHP file to display multiple sized thumbnails. I basically copied the entire function, renamed it, and then changed a few things like the default image location, etc. I just changed some of the variables to numbers and removed a few of the conditional statements, and now it’s working.
So on my wishlist for the next version: Multiple thumbnails with different sizes, etc. ??
Forum: Installing WordPress
In reply to: Private – “eyes only” CMS w/ WP?To be honest, though, I’d just use a Wiki. It does a better job than WP as a notes-sharing software, IMO.
Forum: Your WordPress
In reply to: New Mag based on WordPressAaaaHA!
Sounds like a job for Browsershots. I’ve submitted your site for screenshots from all the IEs, and some versions of FF, Safari, and Opera.
Forum: Plugins
In reply to: New plugin: Post ThumbsMy thumbnails don’t seem to resize before they crop, so I end up with thumbnails that have a 75×75 patch of sky (Examples, scroll down a bit, left side) I’m using the tag
<?php echo tb_post_thumb(false, '', 75, 75, 75, 75); ?>
Am I doing something incorrect with the template tag? The thumbnails on your site are so nicely done.
Forum: Fixing WordPress
In reply to: Aquafluid template – Problems in IE and FirefoxIconoclast31 – I hear you. On the other hand, when one works with small businesses, budget dictates everything, you know. Are you suggesting that validation errors of the website could be causing this issue with the blog??? Please, reply on that. I’d appreciate it!
Kind regards,
MiriamProbably not, but I wasted 10 minutes searching through the source to figure that out. It really narrows down the problems if we know that your page validates. Read more.
Have you tried switching themes and checking if the content magically reappears? That’s the first thing I’d do.
Forum: Plugins
In reply to: Catagory listGo to https://pastebin.ca/raw/258580
Save the code as
category.php
and upload it to the same folder that hasindex.php
.If it doesn’t work, delete the file. This works assuming that you’re using the default template. If you’re not using the default template, the only thing I changed was the loop, so it shouldn’t be hard to hack .
Forum: Plugins
In reply to: Catagory listSo you’re getting the excerpt, but you want only the link?
If so, remove the excerpt and instead, type the following:
<?php the_time('F j, Y'); ?> :: <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
You may want to wrap them in a set of
<li></li>
tags and make it an unordered list.Forum: Themes and Templates
In reply to: Index.php style questionUmm, I’m not quite sure what you’re asking. Are you trying to change the style of the most recent post?
Are you trying to modify the “Single-Post-Page”, which appears when you click on ‘Read More’? If so, you’ll need to modify
single.php
, notindex.php
.G’Luck. ??
Forum: Themes and Templates
In reply to: Display video thumbnailsTry using Post Thumbs ( https://www.ads-software.com/support/topic/89683?replies=29 ). They have a feature for video thumbnails. It’s simply a matter of creating a new loop in the sidebar and using the Post-Thumbs template tag.
Forum: Plugins
In reply to: New plugin: Post ThumbsRemove the
%link>>
and echo the post-thumbs function instead.Forum: Themes and Templates
In reply to: How to change Blix blockquote back ground color?The lightest is FEFEFE, but I like FCFCFC.
The background-color thing really depends on your theme. Open up your CSS file, search it (CTRL+F) for
blockquote
and change itsbackground:
orbackground-color:
value. Good luck.Forum: Fixing WordPress
In reply to: Using the <br> tagYou’re both right. It’s best-practice v. practical thinking, and if someone finds the golden answer to that debate, let me know.