Title: superskill's Replies | WordPress.org

---

# superskill

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

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

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get_header action not working](https://wordpress.org/support/topic/get_header-action-not-working/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/get_header-action-not-working/#post-8214529)
 * Hi [@girlieworks](https://wordpress.org/support/users/girlieworks/)! Thanks for
   the reply. I know about `get_header( 'newtmpl' );`, my issue isn’t that. The 
   goal is to change the theme’s header, but wouldn’t it be easier to manage all
   this with that action hook.
 * If I add a select box in my theme to choose from different headers, I would like
   to use that hook instead of doing something like:
 *     ```
       $header_name = get_theme_mod('option_name');
       get_header( $header_name );
       ```
   
 * The above code would mean that I have to add `$header_name` in every file where`
   get_header()` is.
    -  This reply was modified 9 years, 10 months ago by [superskill](https://wordpress.org/support/users/superskill/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [selective_refresh issue](https://wordpress.org/support/topic/selective_refresh-issue/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/selective_refresh-issue/#post-7300976)
 * So the solution is:
    `'render_callback' => function() use ( &$setting_id ) {`
   🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[JustWrite] I want to post a adsense (responsive) add after first post](https://wordpress.org/support/topic/i-want-to-post-a-adsense-responsive-add-after-first-post/)
 *  [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/i-want-to-post-a-adsense-responsive-add-after-first-post/#post-5425024)
 * Opend `index.php`, find:
 *     ```
       if ( have_posts() ) :
       	while ( have_posts() ) :
       		the_post();
       		get_template_part( 'post-templates/content' );
       	endwhile;
       	else :
       		get_template_part( 'post-templates/content', 'no-articles' );
       	endif;
       ```
   
 * change it with:
 *     ```
       if ( have_posts() ) :
               $count = 0;
       	while ( have_posts() ) :
       		the_post();
               $count++;
       		get_template_part( 'post-templates/content' );
               if ($count == 1) : ?>
                  <article class="post-template-1 clearfix">
                     YOUR GOOGLE AD CODE GOES HERE!
                  </article>
       <?php
               endif;
       	endwhile;
       	else :
       		get_template_part( 'post-templates/content', 'no-articles' );
               endif;
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [AcosminTECH – free for download](https://wordpress.org/support/topic/acosmintypo-free-for-download/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [17 years, 12 months ago](https://wordpress.org/support/topic/acosmintypo-free-for-download/#post-841566)
 * It depends 🙂 thq you for the comment
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [3 column and rounded corners](https://wordpress.org/support/topic/3-column-and-rounded-corners/)
 *  [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/3-column-and-rounded-corners/#post-789958)
 * You can try one of my [wordpress themes](http://www.acosmin.com/wordpress-themes/)
   > [Acosmin v3.1](http://www.acosmin.com/acosmin-v31-update/). It is simple, widgets
   ready but it hasn’t tabs/dropdown-menu.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [AcosminMAG – new wordpress theme](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/#post-782428)
 * I updated this [wordpress theme](http://www.acosmin.com/acosminmag-v1-free-wordpress-theme-magazine-style/),
   so for those who use it, please download the new version 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [AcosminMAG – new wordpress theme](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/#post-782377)
 * GPL and no sponsored links
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [AcosminMAG – new wordpress theme](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/#post-782374)
 * Thx guys for the comments and suggestions. I’ve updated the theme, because it
   had a few bugs on the categories and tags pages, so it should work fine now.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [AcosminMAG – new wordpress theme](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/acosminmag-new-wordpress-theme/#post-782251)
 * Those ad spots are simple to remove 🙂 thq for the comment
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [My new wp theme – acosmin v4](https://wordpress.org/support/topic/my-new-wp-theme-acosmin-v4/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/my-new-wp-theme-acosmin-v4/#post-759926)
 * thx ! 🙂 any othe opinions
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent news from another blog](https://wordpress.org/support/topic/recent-news-from-another-blog/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/recent-news-from-another-blog/#post-697780)
 * No one knows?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Recent news from another blog](https://wordpress.org/support/topic/recent-news-from-another-blog/)
 *  Thread Starter [superskill](https://wordpress.org/support/users/superskill/)
 * (@superskill)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/recent-news-from-another-blog/#post-697695)
 * well I don’t need a widget. I was thinking about some php (plugin) or something.
   Thx

Viewing 12 replies - 1 through 12 (of 12 total)