Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 9
Impact
~8k people reached

  • 0 posts edited
  • 0 helpful flags
  • 8 votes cast
Feb
28
awarded  Popular Question
Jan
14
awarded  Tumbleweed
Jan
7
revised Is placing translation files in subdirectory in wp-content/languages folder valid?
add example scenario
Jan
7
asked Is placing translation files in subdirectory in wp-content/languages folder valid?
Nov
26
awarded  Editor
May
3
comment Extending Shortcode attributes
can i use FusionSC_RecentPosts::render as old_recent_posts?
May
3
comment Extending Shortcode attributes
class FusionSC_RecentPosts{ All the code of shortcode are here } new FusionSC_RecentPosts();
May
3
awarded  Commentator
May
3
accepted Extending Shortcode attributes
May
3
comment Extending Shortcode attributes
Hmmm, another problem is this shortcode is coded by OOP technique so i couldn't access via function name. You can find logic here : 'class FusionSC_RecentPosts' wraps the shortcode and construction starts with 'public function __construct() {' After than, 'add_shortcode( "recent_posts", array( $this, "render" ) );' so render function executing to show the result/execute the WPQuery function. How can i access this function from 'functions.php' to extend it? Thanks again.
May
3
comment Extending Shortcode attributes
Let me try second one, because I've tried your first way ( wordpress.stackexchange.com/a/95971/26350 ) but no success and i didn't see any shortcode_atts support in code. Thanks..
May
3
comment Extending Shortcode attributes
@birgire Actually you're right but i don't know is this breaks the license because code seems to be coded by theme authors in custom way so i decided to try Pieter's second advise. But additionally, I'll ask to authors for code sharing, if they said no problem, I'll update question.
May
3
comment Extending Shortcode attributes
second way seems to be easier for now because i don't know when next version will be released. Thanks for help.
May
2
asked Extending Shortcode attributes
Jan
12
awarded  Supporter
Sep
12
accepted Is there any way to recover deleted menu from database sql backup
Sep
9
answered Is there any way to recover deleted menu from database sql backup
Sep
9
asked Is there any way to recover deleted menu from database sql backup
Apr
22
asked Enable Woocommerce chart, price and buying functions if only user is specific role, otherwise use as catalog
Sep
11
awarded  Notable Question