Browsing articles in "Design Articles"
May 7, 2013

Preserve HTML tags on your wordpress excerpt

Normally wordpress excerpt outputs your first few characters/words on a straight text format.
It keeps the excerpt neat but if ever you need to show how the content really looks like, just paste this code on your functions.php

//Custom Excerpt

function theme_t_wp_improved_trim_excerpt($text) {
global $post;
if ( '' == $text ) {
$text = get_the_content('');
$text = apply_filters('the_content', $text);
$text = str_replace(']]>', ']]>', $text);
$text = preg_replace('@]*?>.*?@si', '', $text);
$allowed_tags = ''; // Add HTML Tags inside the '' to allow in the excerpt. separate each tags with comma.
$text = strip_tags($text, $allowed_tags);

$excerpt_word_count = 200; /*** MODIFY THIS. change the excerpt word count to any integer you like.***/
$excerpt_length = apply_filters('excerpt_length', $excerpt_word_count);

$excerpt_end = '[...]'; /*** MODIFY THIS. change the excerpt endind to something else.***/
$excerpt_more = apply_filters('excerpt_more', ' ' . $excerpt_end);

$words = preg_split("/[\n\r\t ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY);
if ( count($words) > $excerpt_length ) {
array_pop($words);
$text = implode(' ', $words);
$text = $text . $excerpt_more;
} else {
$text = implode(' ', $words);
}
}
return $text;
}

remove_filter('get_the_excerpt', 'wp_trim_excerpt');
add_filter('get_the_excerpt', 'theme_t_wp_improved_trim_excerpt', 5);

credits:
wpthemetutorial
bacsoftwareconsulting

Nov 21, 2011

Missing Template Option on WordPress 3 Page

I encountered the missing template option when I tried to use a template in the new wordpress 3.2.
while I think that this bug hasn’t been dealt with yet i figured out how to bring the template option dropdown back

Just re activate your theme again and next time you edit the page the missing template option will be there again.

It’s a noobish way but hey it works =>

Nov 24, 2010

How to be a Web Designer

When I’m in college I always say to my classmates and friends that I will be a Web Designer or a Graphic Artist nothing else. Even though that we only have 3 subjects related to web design field which is (tech2 = html), (webpg = javascript) and (multi = photoshop) and honestly I learned only a little to nothing at all.

Let me tell you a story, I have a friend which came from a rural area in Mindanao. He and his father is a fisherman and they catches fish almost the whole day for a living. But my friend had this Goal that he won’t be a fisherman his whole life and so he looked for a FREE tuition school or what you ever you calls it (It’s a Christian School). But still he didn’t finished college. But he got a friend who taught him how to use photoshop (atleast the basic). Carrying nothing but his self, he tries to find a job in Manila and fortunately became a photo editor (enhances pictures using photoshop). now to make the story short… He is now a Senior Web Designer in an IT company.

So Web Design is a matter of Interest. If you are interested then you have to set a goal, have guts and aim your first shot. You don’t need to be a photoshop wizard, mac user, or a code genius.

The first software I used to make a website is MS Frontpage and I made my first site when I was 15 years old that was during my highschool. I did a site just to mark myself a “Cool Guy” over the internet. back then when you have a personal site you’re like a genius. Then I added a marquee text in that site and everyone was “OMG! how did you do that? you are amazing!”. I actually laugh when I remember those days. haha. Marquee text, a snowing or falling leaves background, etc.

Now everything is a wonder. Jqueries, CMS, 3D animations, Interactive websites. It’s just up to you what you want to try out and there is alot of tutorial now on how to do this and that. You can learn web designing just by googling.

So what will you do now? stare in your monitor?

Nov 18, 2010

The New Philippines Department of Tourism Logo

This is the new DOT logo.

with the new tagline : “Pilipinas: Kay Ganda”
Continue reading »

Nov 11, 2010

How to make a twin in photoshop

Alright, here is a simple tutorial on how you combine your two pictures into one or basically make you own twin!.

First of all we will be needing a Tripod or if you don’t have any you can just place you camera over a small table or anything that stable enough.
Continue reading »

Nov 11, 2010

Vector Chibi Realtor

I still don’t know how to make old faces lol. I need to create a Realtor with different positions and gestures but unfortunately I don’t know how to make old peoples faces *haha* and so my first draft looks too young to be a Realtor. but well I dunno..

Here it is.


Continue reading »

Nov 10, 2010

Vector Practice

I needed to do an illustration so I did a lil ai-ps practice. I tried to illustrate the chibiness of me on my favorite hooded jacket. LOL
But a friend Pmed me because i actually forgot that we will meet today at the mall (LOL Dhon Rocafort) and so I need to finish this illustration quick!
bah!! sooo here is it.

sorry for the resolution. hahaha. ill repost later. ok got to go!

Aug 28, 2010

5 Benefits of Having a Professional Website Design

People actually judge the book by it’s cover and not the other way around. Just the same for website designs -people visit your site and immediately make a decision on if it’s a place they’re going to spend time (and money) at, or they will just hit the dreaded back button and go somewhere else.

Continue reading »

Recent Blog Post

Sponsors