308 posts
  • Has referred 1+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+4 more
brainbuzzmedia says

I’m just wondering this because a theme of mine was rejected with the reasons given that I had the featured image, background image, and header options in the theme but they didn’t do anything.

Well, for my theme, I have custom write boxes build in to the post page that are for the few different areas that will display images, so a single featured image pointless when the user needs to decide whether his image is going in the portfolio, slider, or full size.

The background image does not fit into my theme. There is nowhere where a background image would go. Neither does the header image.

Is there a way to remove these core options from showing up in the admin panel when the user is displaying my theme? Is it required that we include functionality for these features? And if so, what should I do with them if I either already have a more useful solution custom made, or do not have any use for them?

1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
+10 more
JamiGibbs says

Why would you have those functions in your theme if you aren’t going to use them? It just bloats the code. Just remove the function from your theme’s function.php, header.php, index.php or wherever you have them and resubmit the theme. If that’s your only reason for rejection (which I kinda doubt it) then it’s a piece of cake fix.

238 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
ewizz says

you copied functions.php from somewhere (there is code which “calls” those actions…like add_custom_background…etc)

308 posts
  • Has referred 1+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+4 more
brainbuzzmedia says

Ahhhh that explains it. I am using a “blank” theme as a starting point and that was in the functions.php. Still not super familiar with 3.0, I thought they were features built into Wordpress.

308 posts
  • Has referred 1+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+4 more
brainbuzzmedia says

If that’s your only reason for rejection (which I kinda doubt it) then it’s a piece of cake fix.

Well thanks for the vote of confidence. Actually aside from one other dumb thing, I believe it is the only problem. The following are the only things listed in the email..

1) Please use wp_enqueue to load jquery to avoid duplicate libraries loaded into the theme, and avoid plugins conflict. You need to de-register the jquery when it is not in admin page to avoid conflict with plugins.

2) You provide the feature image option in post, but it doesn’t output any result.

3) You provide the background and header options, but it doesn’t make any changes to your theme, it is pointless here.

- -

193 posts ThemePrince
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has sold $75,000+ on Envato Market and is now an Elite Author
+2 more
ThemePrince says

Hello,

you can remove those unnecessary menus from admin by adding the following code to your theme’s function.php (removes background and header submenu from Appereance tab):

function remove_submenu() { global $submenu; unset($submenu['themes.php'][11]); unset($submenu['themes.php'][12]); //print_r($submenu['themes.php']); } add_action('admin_head', 'remove_submenu');

If you uncomment “print_r..” line, you can see the array indexes of those submenus in Appereance tab.

60 posts
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in United States
Potshot says

@urvab0id …no. If he doesn’t need to admin menus, then he can simply open his functions.php and remove the code calling for the submenus in the first place. Why would you waste space by 1. Calling for a function you’re not going to use, and then 2. Calling for ANOTHER function that removes the first function. Where’s the logic in that?

In all honesty though Brian, you should know every line of code in your theme before you resubmit it. If there’s code in the theme that you didn’t write yourself you need to become more familiar with it else you will be ill equiped to assist the buyers of your themes with potential problems. Common sense really.

Good luck on the resubmission!
-Potshot

1029 posts
  • Has referred 500+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
ThemeBlvd says

sidenote… I didn’t know reviewers actually checked these little things, that’s awesome!

60 posts
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in United States
Potshot says

The way people complain about the reviewers missing little things or about the generic “This needs aesthetic improvements” response, you wouldn’t really think so. Turns out, we don’t give them nearly enough credit :)

193 posts ThemePrince
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has sold $75,000+ on Envato Market and is now an Elite Author
+2 more
ThemePrince says

@urvab0id …no. If he doesn’t need to admin menus, then he can simply open his functions.php and remove the code calling for the submenus in the first place. Why would you waste space by 1. Calling for a function you’re not going to use, and then 2. Calling for ANOTHER function that removes the first function. Where’s the logic in that?

In all honesty though Brian, you should know every line of code in your theme before you resubmit it. If there’s code in the theme that you didn’t write yourself you need to become more familiar with it else you will be ill equiped to assist the buyers of your themes with potential problems. Common sense really.

Good luck on the resubmission!
-Potshot

Oops, You’re right, I haven’t noticed that it’s already registered in functions. :nerdy: ^^

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by