Posts by 2winFactor

121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

My vote is for slack. :)

121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

I’d be interested in this too. It would be great to be able to share sales data or successful marketing strategies outside of a forum where everyone can see.

121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

Redux is an open-source project… ;)

Agreed – don’t know why this was flagged. Many authors use redux (myself included) and would benefit from this announcement.

Keep up the good work guys.

121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

The best part about sublime is it’s just so fast. Brackets still seems super laggy to me. For a code editor that’s mostly what you’re looking for anyway.

121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says
121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

My items are supported via an external URL, but nothing is shown on the comments notification. Is it possible to have a link to the support forum in the notification? Like this:

Right now it looks like this:

There’s no information about my support forum – it’s misleading and seems as though I offer support through item comments (I do not). Why is this information missing?

Edit: Scratch that – it looks like the notification changes if/when the user purchases the item. :)

121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

I’ve been really digging ZenCache lately, I’ve been using ZenCache on my sites for a while. The setup is much more straighforward and it works like a charm. :)

https://wordpress.org/plugins/zencache/
121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

Or… hah. You can use our new templates to add anything to YOUR panel. http://docs.reduxframework.com/core/templates/

Also you can use the raw field to execute PHP.

- Dovy Lead Dev of Redux

Man, you Redux guys are on it. Way to be everywhere all the time!

121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

You can validate html if you want using WordPress’ wp_kses function, although it’s not super performant. I believe you could do something like this:

$text = ot_get_option( 'text_option' ); // From Theme Options
$class = ot_get_option( 'class_option' ); // From Theme Options
$output = '<span class="' . sanitize_html_class( $class ) . '">' . $text . '</span>';

echo wp_kses( 
       $output, 
      // Only allow <span> with class
      array(
        'span' => array(
          // Here, we whitelist 'class' attributes - nothing else allowed!
          'class' => array(),
        )
      )
);
</span>

This is better for storing data in the database not during output sanitization because of the performance hit. However, on a short amount of content isn’t too bad:

https://www.tollmanz.com/wp-kses-performance/

If you go the route of escaping in final output (probably recommended), I would use WordPress’ sanitize_html_class function for the class variable as it’s more appropriate:

$text   = ot_get_option( 'text_option' ); // From Theme Options
$class = ot_get_option( 'class_option' ); // From Theme Options

<!--- somewhere in the html structure --->
<span class="<?php echo sanitize_html_class( $class ); ?>"><?php echo esc_html( $text ); ?></span>
https://codex.wordpress.org/Function_Reference/sanitize_html_class
121 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that became a weekly top seller
  • Had an item that was trending
+8 more
2winFactor
says

A great WordPress plugin for migrating your site:

http://managewp.com

Their “clone” tool will help you clone an existing WordPress site to another place. Super easy and straightforward.

by
by
by
by
by
by