Posts by kevinsturf

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

Yes you can, I can’t see why you won’t be allowed to.

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

try including it like this:

<!--#include virtual="filename.html" -->

Let me know if it works.

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

Come on phoenix, link a brotha. http://themeforest.net/item/collective-community-wordpress-theme/123906

You can’t promote items in the forums, that’s why he just stated the name for the person to use the “search” bar.

Have a look at the Forum Rules about using links

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

looking pretty good so far :)

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

Well to be quite honest with you. The theme design looks quite outdated. Also the content has no breathing room. Don’t get me wrong, it’s a good theme if you add more design elements to it and fix it up a bit. Just have a look at some top selling themes similar to what your theme is trying to accomplish, which I guess is like a news/magazine type.

I hope this helps out a little bit. - Kevin

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

Can we see some of your previous works please?

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

I actually got another way too.

This in functions file:

function excerpt($limit) {
      $excerpt = explode(' ', get_the_excerpt(), $limit);
      if (count($excerpt)>=$limit) {
        array_pop($excerpt);
        $excerpt = implode(" ",$excerpt).'...';
      } else {
        $excerpt = implode(" ",$excerpt);
      } 
      $excerpt = preg_replace('`\[[^\]]*\]`','',$excerpt);
      return $excerpt;
    }

then you would use this in your template:

&lt;?php echo excerpt(40); ?&gt;

You can also do the same for content too.

function content($limit) {
      $content = explode(' ', get_the_content(), $limit);
      if (count($content)>=$limit) {
        array_pop($content);
        $content = implode(" ",$content).'...';
      } else {
        $content = implode(" ",$content);
      } 
      $content = preg_replace('/\[.+\]/','', $content);
      $content = apply_filters('the_content', $content); 
      $content = str_replace(']]>', ']]&gt;', $content);
      return $content;
    }

then you would use this in your template:

<?php echo content(45); ?>

Not too sure if this is a good way but it works and it’s flexible to allow you to see whatever size you want to display.

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says
478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

hello all, i’m currently attempting to make a wordpress theme and I’ve hit a wall in this road of development. On my homepage, i have a section where it displays 3 of the latest blog posts. It has the title, post date, thumbnail and some content.

Now what I would like to know is if I could limit the word count to a certain amount for certain areas where the excerpt is being pulled because the blog page will be using the same content but will have a little bit more because of the size. I also know that WordPress automatically takes the first 55 words if an excerpt isn’t placed.

If you could help, thanks.

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

I think I’m number 4

by
by
by
by
by
by