Title: Ebrark's Replies | WordPress.org

---

# Ebrark

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Bayleaf] Headless Full Width](https://wordpress.org/support/topic/headless-full-width/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/headless-full-width/#post-12828601)
 * Great, thanks.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Bayleaf] Change in Date on Blog Post](https://wordpress.org/support/topic/change-in-date-on-blog-post/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/change-in-date-on-blog-post/#post-12412225)
 * Hello,
 * Sorry for late reply, currently stuck in China with VPN not working.
 * Everything is working fine now.
 * Thanks for all your help.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Bayleaf] Change in Date on Blog Post](https://wordpress.org/support/topic/change-in-date-on-blog-post/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/change-in-date-on-blog-post/#post-12400618)
 * Hello,
 * I did remove the code you mentioned above from the functions.php. It removes 
   Author image.
 * Also since the new theme update, the child theme breaks posts and pages look:
    1.  The heading has been aligned to the left.
        The Featured image is not in the
       middle. Posts/Pages text has moved to right.
 * Did you introduce any new stylesheets ?
 * Thanks
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Bayleaf] Change in Date on Blog Post](https://wordpress.org/support/topic/change-in-date-on-blog-post/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/change-in-date-on-blog-post/#post-12380596)
 * Many Thanks for your reply.
 * I get this error, when I add the above code to the child’s theme functions.php:
   There has been a critical error on your website.
 * Below is how my functions.php file looks like without the above code:
 *     ```
       <?php
       add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
   
       function enqueue_parent_styles() {
          wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
       }
   
       add_filter( 'get_the_archive_title', function ($title) {    
           if ( is_category() ) {    
                   $title = single_cat_title( '', false );    
               } elseif ( is_tag() ) {    
                   $title = single_tag_title( '', false );    
               } elseif ( is_author() ) {    
                   $title = '<span class="vcard">' . get_the_author() . '</span>' ;    
               } elseif ( is_tax() ) { //for custom post types
                   $title = sprintf( __( '%1$s' ), single_term_title( '', false ) );
               }    
           return $title;    
       });
   
       /**
        * Adds categories to the pages.
        */
   
       function add_categories_to_pages() {
       register_taxonomy_for_object_type( 'category', 'page');
       }
       add_action( 'init' , 'add_categories_to_pages' );
   
       /**
        * New Entry meta function to include author avatar image.
        */
       function bayleaf_custom_entry_meta() {
       	global $post;
       	?>
       	<span<?php bayleaf_attr( 'meta-author-avatar' ); ?>>
       		<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID', $post->post_author ) ) ); ?>"<?php bayleaf_attr( 'url' ); ?>><span<?php bayleaf_attr( 'name', false ); ?>> <?php echo get_avatar( get_the_author_meta( 'user_email', $post->post_author ), 36 ); ?></span></a>
       	</span><!-- .meta-author -->
       	<?php
       	bayleaf_entry_meta();
       }
   
       /**
        * Modify entry meta callback function,
        */
       function bayleaf_custom_modify_entry_meta() {
       	return [ 'bayleaf_custom_entry_meta' ];
       }
       add_filter( 'bayleaf_markup_entry_meta', 'bayleaf_custom_modify_entry_meta' );
   
       /**
        * Move entry meta below title,
        */
       function bayleaf_custom_page_entry_header_items() {
       	return [
       		[ 'bayleaf_get_template_partial', 'template-parts/post', 'entry-title' ],
       		'bayleaf_entry_meta_wrapper',
       	];
       }
       add_filter( 'bayleaf_markup_page_entry_header_items', 'bayleaf_custom_page_entry_header_items' );
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Removing images](https://wordpress.org/support/topic/removing-images-1/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/removing-images-1/#post-7171645)
 * thanks…………….
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Slider Showing Posts Instead of Pages](https://wordpress.org/support/topic/slider-showing-posts-instead-of-pages-1/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/slider-showing-posts-instead-of-pages-1/#post-5113572)
 * It can be fixed from this code all I know :
 * <?php
    global $post; $today_special = apply_filters(‘templ_anything_slider_widget_postsobj_filter’,
   get_posts(‘numberposts=’.$title.’&category=’.$category.”)); foreach($today_special
   as $post) : if($post){ setup_postdata($post); $post_images = bdw_get_images($
   post->ID,’large’); ?>
 * Taken from above.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Excerpt and dots](https://wordpress.org/support/topic/excerpt-and-dots/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/excerpt-and-dots/#post-3595505)
 * Hey thanks alot mateeee
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Main keywords not working with google search](https://wordpress.org/support/topic/main-keywords-not-working-with-google-search/)
 *  [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/main-keywords-not-working-with-google-search/#post-3345403)
 * Vicius , build few quality links with exact match keywords to your homepage ,
   using your targeted keyword “Receptai” and “Patiekalai” , i had a look at your
   backlinks profile.
 * Let me know if you need more help .
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [2 domains, 1 hosting account, 2 WordPress installations](https://wordpress.org/support/topic/2-domains-1-hosting-account-2-wordpress-installations/)
 *  [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/2-domains-1-hosting-account-2-wordpress-installations/#post-3354343)
 * If you have Deluxe linux hosting you can have Unlimited Websites on your hosting,
   you need to create another folder for your second website and upload wordpress
   to it , and create the database manually.
 * The best thing is give them a call and let them do it for you.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicate posts on website](https://wordpress.org/support/topic/duplicate-posts-on-website/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/duplicate-posts-on-website/#post-2475724)
 * thanks for your help vtxyzzy but it’s not what I want and it’s not working for
   me mate.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicate posts on website](https://wordpress.org/support/topic/duplicate-posts-on-website/)
 *  Thread Starter [Ebrark](https://wordpress.org/support/users/ebrark/)
 * (@ebrark)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/duplicate-posts-on-website/#post-2475723)
 * Will google crawl the other page though.

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