Title: codingpet's Replies - page 12 | WordPress.org

---

# codingpet

  [  ](https://wordpress.org/support/users/codingpet/)

 *   [Profile](https://wordpress.org/support/users/codingpet/)
 *   [Topics Started](https://wordpress.org/support/users/codingpet/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codingpet/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codingpet/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codingpet/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codingpet/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codingpet/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 166 through 180 (of 181 total)

[←](https://wordpress.org/support/users/codingpet/replies/page/11/?output_format=md)
[1](https://wordpress.org/support/users/codingpet/replies/?output_format=md) [2](https://wordpress.org/support/users/codingpet/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codingpet/replies/page/3/?output_format=md)…
[11](https://wordpress.org/support/users/codingpet/replies/page/11/?output_format=md)
12 [13](https://wordpress.org/support/users/codingpet/replies/page/13/?output_format=md)
[→](https://wordpress.org/support/users/codingpet/replies/page/13/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [remove_theme_support() generates array index error](https://wordpress.org/support/topic/remove_theme_support-generates-array-index-error/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/remove_theme_support-generates-array-index-error/#post-2917494)
 * [@global_1981](https://wordpress.org/support/users/global_1981/), if you just
   installed a new wordpress 3.4.1 without any plugins activated, there will still
   be some PHP notices. These undefined index or deprecated notices are caused by
   some wordpress core codes. So I can only assume these notices are allowed by 
   the core wordpress developer(compatible with outdated themes or plugins). For
   me, I will not enable the debug mode to try to fix these notices.
 * Any other ideas?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [remove_theme_support() generates array index error](https://wordpress.org/support/topic/remove_theme_support-generates-array-index-error/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/remove_theme_support-generates-array-index-error/#post-2917492)
 * Hi,
 * It works. You need to use add_action to add them to after_setup_theme.
    Try below
   codes:
 * add_action(‘after_setup_theme’,’custom_remove_function’);
    function custom_remove_function(){
   remove_theme_support( ‘custom-header’ ); remove_theme_support( ‘custom-background’);}
   For detailed features, you can check [http://codex.wordpress.org/Function_Reference/current_theme_supports](http://codex.wordpress.org/Function_Reference/current_theme_supports)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Header / Border Issue](https://wordpress.org/support/topic/header-border-issue/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/header-border-issue/#post-2974429)
 * Hi,
 * You are welcome.
 * I’m not familiar with Meeta theme. I figured the css issue out by checking your
   site URL with firebug.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Widely theme has no paragraphs in post](https://wordpress.org/support/topic/widely-theme-has-no-paragraphs-in-post/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/widely-theme-has-no-paragraphs-in-post/#post-2974428)
 * For wordpress editor, did you edit it in Visual mode or HTML mode?
 * In Visual mode, if you click “enter”, a <p></p> will be added. In HTML mode, 
   if you click “enter”, a 
    will be added. You can’t see these html tags in the
   wordpress editor. But they will be added when showing on frontend.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [No "Install Themes" Tab](https://wordpress.org/support/topic/no-install-themes-tab-1/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/no-install-themes-tab-1/#post-2974424)
 * Hi,
 * Admin role can see the “install theme” tab by default. Special capabilities can
   be added to roles lower than Admin.
 * This plugin may help you:
    [http://wordpress.org/extend/plugins/user-role-editor/screenshots/](http://wordpress.org/extend/plugins/user-role-editor/screenshots/)
 * You see you can add different capabilities to different users.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Photos-How to keep photos on site secure from download](https://wordpress.org/support/topic/photos-how-to-keep-photos-on-site-secure-from-download/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/photos-how-to-keep-photos-on-site-secure-from-download/#post-2969115)
 * I don’t think there are good ways. maybe you have to add watermark for each images.
   Plugins e.g. [http://www.wp-watermark.com/download](http://www.wp-watermark.com/download)
   maybe helpful
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [cannot redeclare get_comment_auther?](https://wordpress.org/support/topic/cannot-redeclare-get_comment_auther-1/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/cannot-redeclare-get_comment_auther-1/#post-2974419)
 * The get_comment_author function should not be declared in wp-includes/category-
   template.php file. Please check this file to see if a function named get_comment_auto
   are written here.
 * You can re-download wordpress and replace the category-template.php.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Header image in twenty eleven](https://wordpress.org/support/topic/header-image-in-twenty-eleven/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/header-image-in-twenty-eleven/#post-2974416)
 * You tried it locally or on a web hosting? Please make sure your server has php(
   5)-gd installed.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Header / Border Issue](https://wordpress.org/support/topic/header-border-issue/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/header-border-issue/#post-2974414)
 * change
    #header { border: 3px solid #999;
 * }
    to #header { border: 3px solid #999; overflow: hidden; }
 * In this way, image will not cover the border even if the image is wider.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to eliminate posts page](https://wordpress.org/support/topic/how-to-eliminate-posts-page/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/how-to-eliminate-posts-page/#post-2974413)
 * Yes. Follow s_ha_dum’s instructions. You must set the “blog” page as your static
   Posts page. Just leave it blank.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Placing a php call inside a shortcode in the page template](https://wordpress.org/support/topic/placing-a-php-call-inside-a-shortcode-in-the-page-template/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/placing-a-php-call-inside-a-shortcode-in-the-page-template/#post-2973978)
 * You are welcome. 🙂
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Automatically add script to post in admin side](https://wordpress.org/support/topic/automatically-add-script-to-post-in-admin-side/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/automatically-add-script-to-post-in-admin-side/#post-2973369)
 * Do you have affiliate ads on your site? Or do you use services of admedia.com.
   It seems like scripts of affiliate.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Placing a php call inside a shortcode in the page template](https://wordpress.org/support/topic/placing-a-php-call-inside-a-shortcode-in-the-page-template/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/placing-a-php-call-inside-a-shortcode-in-the-page-template/#post-2973949)
 * Hi,
 * For the first one, you added <?php ?> twice. Also, is get_field a custom function
   you defined? The custom fields, I can use the code below to get the URL. You 
   may take a look at the difference from yours. I used get_post_meta to get the
   value and then add it to shortcode. You can add the necessary conditional operators.
 * <?php $site_inspection = get_post_meta($post->ID, ‘site_inspection’, true); ?
   >
    <?php echo do_shortcode(‘[button link=”‘.$site_inspection.'” type=”icon” icon
   =”search” newwindow=”yes”] Site InSpection[/button]’); ?>
 * [codingpet.com](http://www.codingpet.com)
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Server](https://wordpress.org/support/topic/server/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/server/#post-2972744)
 * Maybe you can re-generate the permalink. Most of the time it will be solved.
 * [http://www.codingpet.com](http://www.codingpet.com)
 *   Forum: [Your WordPress](https://wordpress.org/support/forum/your-wordpress/)
   
   In reply to: [Please dont laugh](https://wordpress.org/support/topic/please-dont-laugh/)
 *  [codingpet](https://wordpress.org/support/users/codingpet/)
 * (@codingpet)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/please-dont-laugh/#post-2972743)
 * It looks good. Header image and site text can be improved. I like weight Loss!
   🙂 Looks like a wootheme style. Am I right?
 * _[[signature moderated]](http://codex.wordpress.org/Forum_Welcome#Signatures)_

Viewing 15 replies - 166 through 180 (of 181 total)

[←](https://wordpress.org/support/users/codingpet/replies/page/11/?output_format=md)
[1](https://wordpress.org/support/users/codingpet/replies/?output_format=md) [2](https://wordpress.org/support/users/codingpet/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codingpet/replies/page/3/?output_format=md)…
[11](https://wordpress.org/support/users/codingpet/replies/page/11/?output_format=md)
12 [13](https://wordpress.org/support/users/codingpet/replies/page/13/?output_format=md)
[→](https://wordpress.org/support/users/codingpet/replies/page/13/?output_format=md)