ivovic
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: Events on Homepage (is there something like this?)events from *what* calendar?
maybe what you need is a new calendar: http://wordpress.org/extend/plugins/events-calendar/
Forum: Fixing WordPress
In reply to: Any plugin for make WP like MT with static pages?no… that’s what movable type is for.
you can make a cache though, which has similar performance benefits while being quite different at the same time.
search ‘wordpress cache plugin’ to find a couple, then use WP Super Cache anyway.
Forum: Installing WordPress
In reply to: Page Cannot Display“So willing to be embarrassed!”
Objective achieved.
Do you even have php installed on that windows box?… MySQL on there? No? perhaps later?
Forum: Fixing WordPress
In reply to: All sub-domains redirecting to main domain – resolved!I noticed the comment – wasn’t sure if you did that before or after, so I figured I should point it out anyway.
I will note though, you have plesk for a reason, you should consider using its own subdomaining features, instead of doing things by manually editing conf files.
This can often confuse your control panel.
Forum: Fixing WordPress
In reply to: Loop categories of a parent_categories and write last 5 title postsConsider this:
<?php foreach(get_categories('child_of=23') as $category) : ?> <div class="box"> <?php $getposts = get_posts('numberposts=5&category='.$category); foreach($getposts as $post) : setup_postdata($post); ?> [do your post stuff here] <?php endforeach; ?> </div><!-- box --> <?php endforeach; ?>disclaimer: not tested, should work.
Forum: Fixing WordPress
In reply to: All sub-domains redirecting to main domain – resolved!the serveralias part there in your vhost.conf, would indeed indicate your problem.
remove the *. from the beginning of that… or preferably, find the correct area in plesk in which to remove wildcard subdomains.
Forum: Fixing WordPress
In reply to: Which action hook to use?yeah, I think the landscape of your question changes dramatically when you say “antispam”, while blog stats information may actively wish to ignore that data.
Forum: Fixing WordPress
In reply to: rate images within one postthe solution is to use a gallery platform, not a blogging platform.
Forum: Fixing WordPress
In reply to: Unwanted <p> tags added to pagesyour problem isn’t so much the wpautop function, it’s that you’re using the visual editor.
Let me see if I can make this point as strongly as possible, in case there’s any further argument…
If you’re adding markup to your posts, you should NOT be using the visual editor. Either find a way to add your markup via a custom filter, so you can avoid inserting into your posts, or STOP USING THE VISUAL EDITOR.
The visual editor is for people who don’t know what markup is.
I can’t stress that enough.
Without using the visual editor, you can add div tags to your posts, if you leave a blank line between your previous/following paragraphs and the div. This blank line will not be evident in your final output.
Forum: Fixing WordPress
In reply to: Making entire excerpt clickableI missed a spot in the addon I posted above… too late to edit.
it won’t break anything, but this is what I intended to post:<?php $cutoff = 30; $title = the_title('','',FALSE); if (strlen($title)>$cutoff) echo substr($title, 0, $cutoff).'...'; else echo $title; ?>Glad it works for you.
Forum: Fixing WordPress
In reply to: Making entire excerpt clickableyou might want to make this super-pretty by doing something like this:
<?php $cutoff = 30; $title = the_title('','',FALSE); if (strlen($title)>$cutoff) echo substr($title, 0, 30).'...'; else echo $title; ?>that’ll put a ‘…’ at the end of your titles, but only if something’s been cut off.
you could also replace the dots above with the HTML entity ‘…’
Forum: Fixing WordPress
In reply to: Making entire excerpt clickableYou could use a little php function called substr()
<?php echo substr(the_title('','',FALSE), 0, 30); ?>change the 30 to however many characters you’d like.
Forum: Themes and Templates
In reply to: Not showing child categories in list<?php wp_list_categories('depth=1&exclude=4'); ?>Have a nice day 🙂
Forum: Themes and Templates
In reply to: Ugly gray background box on refreshI’m in Australia, your television doesn’t have the same influence here.
Seacrest out 😛
Forum: Themes and Templates
In reply to: Ugly gray background box on refreshahh I see, it was a function of the theme, not a separate plugin…
good work finding it 🙂