Posts by sevenspark

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

?

Ok, did a tweak to fit my needs with the custom field name (Benefits), then deleted the old “get meta” and now it sort of works.

BUT only shows up the first letter of each word. :)

Edit: I have to admit it again: this is way out of my league.

Oh, okay, try this then:

<?php echo $b; ?>

//instead of
<?php echo $b[0]; ?>
3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

@sevenspark, Did tried your code but it didn’t work, probably cause I made some error, I don’t know. I added it bellow my code, this way: <?php the_meta(); ?>

(your code was here)

Keep in mind the second line is $post->ID (a dash, not a question mark) – the editor here filters it and prints the code wrong.

Obviously “benefits” should be replaced with the key of your custom field.

Of course $post needs to be initialized as well, but that was assumed.

I recommend printing out your variables at each stage so you can see at which point you’re missing data:

dump($data){
  echo '<pre>';
  print_r($data);
  echo '</pre>';
}
3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

If your custom field is a textarea with strings split by line breaks, you could do something like this

<?php //retrieve custom field into $benefits variable
$benefits = get_post_meta($post?>ID, 'benefits', true);
$benefit_array = preg_split( '/\r\n|\r|\n/', $benefits ); 
?>
<ul>
<?php foreach($benefit_array as $b): ?>
    <li><?php echo $b[0]; ?></li>
<?php endforeach; ?>
</ul>

preg_split will split your textarea by line breaks so you can grab each line individually. (This is untested code).

Hope that helps :)

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

Welcome to the community Fernando! Great attitude – it’ll serve you well here :) Best of luck with your projects!

Chris

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

This one should be in the solid gold bundle :p

+1 hahaha it’s a perfect fit ;)

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

Have you considered BuddyPress? http://buddypress.org/

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

Duo – I think what BroOf means in the live preview, there will be the DA images, but in the purchased download, there will only be placeholder images. It doesn’t really matter what the images look like after purchase, because the general idea is for the buyer to use their own. This is what I assumed most people did in the first place… no?

+1

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

Thank you for sharing the numbers. For making money, I doubt Code Canyon will be a main stream for a team. I think you should benefit from Freelancing. Code Canyon is good to make money while you are in a vacation (aside from bringing gigs)

Respectfully, I have to disagree. I think if you choose your market properly CodeCanyon can be a great revenue producer. While the products don’t necessarily sell at as high a price or as quickly as the top ThemeForest items, for example, there is currently a lot more potential and a lot less competition in this marketplace for those top spots. Look at some of the top authors here like dtbaker, sitebase, and jigowatt – they’re the proof that there’s definitely plenty of money to be had here :)

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

Well, you’re not selling him a theme (which would not be allowed), you’re selling him the service of installing it.

Legally, you can charge anything you want for your services. I see the theme’s cost as an out of pocket reimbursable expense.

All the license says is that you can’t turn around and sell the theme; but purchasing it on a client’s behalf is perfectly fine.

3447 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

BUT …

Images do not show up, just a url: http:xxlocalhost/wordpress/wp-content/uploads/2011/03/yahoo-logo1.jpg

Using:

<?php if ( function_exists( ‘get_option_tree’) ) { echo get_option_tree( ‘upload’ ); } ?>

Then you’re retrieving the image source. You need to build the img tag in the PHP .

<?php if ( function_exists( 'get_option_tree') ): ?>
  <img src="<?php echo get_option_tree( 'upload' ); ?>" />
<?php endif; ?>
by
by
by
by
by
by