ThemeForest

Posts by ReyMarval

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Thanks @Pirenko @wopre I found a solution adding a function to my Walker_Nav_Menu there is the easy way to add sub-menu class indicator to parent menu items

Thanks mates!

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Wow! Congratulations :D

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Hi, thanks.

This is the error: “Parse error: syntax error, unexpected T_FUNCTION in /home/content/00/8677800/html/hungry/wp-content/themes/hungry/functions.php on line 398”

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Hi, thanks for being here.

Working in a WordPress Theme.. I’m trying to add a parent class for menu items, and I’m using this code from the Codex: How to add a parent class for menu item

add_filter('wp_nav_menu_objects', function ($items) { $hasSub = function ($menu_item_id, &$items) { foreach ($items as $item) { if ($item->menu_item_parent && $item->menu_item_parent==$menu_item_id) { return true; } } return false; }; foreach ($items as &$item) { if ($hasSub($item->ID, &$items)) { $item->classes[] = 'menu-parent-item'; // all elements of field "classes" of a menu item get join together and render to class attribute of <li> element in HTML } } return $items; });</li>

But :crying: for some reason I get a syntax error again and again, I think it’s because my version PHP is older than 5.3.0, but I dont know what to do :(

Please somebody help me!

Thanks guys :D

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Godaddy :)

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Congrats :)

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Great! :)

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

Congratulations!

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says


I am sure others have asked this question before but here we go: How much money (or sales if you don’t want to tell the world your income) do you make selling Wordpress themes on TF?
No money at all. Theme business is awful. Stay away… Nope, no money to be made here, just keep on moving along.

Ha ha! :D

49 posts
  • Sold between 10 000 and 50 000 dollars
  • Venezuela
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Exclusive Author
ReyMarval says

buy it many horses and bathe with soap :dead:

by
by
by
by
by