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

---

# epicdevspace

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trouble finding Code to change video on site.](https://wordpress.org/support/topic/trouble-finding-code-to-change-video-on-site/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/trouble-finding-code-to-change-video-on-site/#post-7396496)
 * Hi
 * You can try looking at your Homepage in your wp-admin Dashboard -> Pages , perhaps
   switch to text view once you’re on the page to see if you can find that iframe.
 * Other than this piece of advice , it is very difficult to pinpoint the problem
   from just peeking at the frontend.
 * All the best!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [start hour](https://wordpress.org/support/topic/start-hour/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/start-hour/#post-7391183)
 * Hi
 * The problem you’re experiencing is described too vaguely.
 * I need a link to your site / a description of your current setup.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Short link errors](https://wordpress.org/support/topic/short-link-errors/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/short-link-errors/#post-7389073)
 * Hi
 * You can try creating two new posts with the original content and deleting the
   existing problematic posts.
 * I will have a look at your site in a little while to see if I can help with any
   other suggestions 🙂
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392077)
 * Hi Katrah
 * Add a class to the output and code some custom css to override the default placement.
   🙂
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392025)
 * Hi
 * Just a thought, it might also be worth while to try to change the function name
   and shortcode name to something more unique as part of your bug fixing 🙂
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392024)
 * Hi
 * The code I provided works well with on the twenty fifteen theme and a handful
   of others I tested.
 * Perhaps you can contact support for the Genesis framework and ask them to point
   you in the right direction?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392007)
 * Hi
 * Important note: Backup your site and use child themes instead of modifying the
   parent theme’s code 🙂
 * Now that I’ve got that out of the way , here’s a solution:
 * Add this to your functions.php
 *     ```
       function get_cats(){
       $categories = get_the_category();
       $separator = ' ';
       $output = '';
       if ( ! empty( $categories ) ) {
           foreach( $categories as $category ) {
               $output .= '<a href="' . esc_url( get_category_link( $category->term_id ) ) . '" alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</a>' . $separator;
           }
           echo trim( $output, $separator );
       }}
   
       add_shortcode('getcats', 'get_cats');
       ```
   
 * Then use `[getcats]` in your posts to display a list of categories the post is
   affiliated to.
 * All the best & happy coding!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Subdomain Site Not Working](https://wordpress.org/support/topic/subdomain-site-not-working/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/subdomain-site-not-working/#post-7386756)
 * Hi Allison
 * I do not think you need a multi-site for this purpose as you are likely creating
   a client live testing WordPress site. 🙂
 * You will need to install WordPress (new db recommended) in the subdomain’s folder(
   which can be seen in the public_html folder). It is always a good idea to keep
   these testing sites as separate entities to reduce the risk of db corruption.
   You will be able to easily export sql and source code when the site is production
   ready.
 * All the best.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't cut off new comments for a post and still show old comments](https://wordpress.org/support/topic/cant-cutoff-new-comments-for-a-post-and-still-show-old-comments/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/cant-cutoff-new-comments-for-a-post-and-still-show-old-comments/#post-7389956)
 * Hi
 * What theme are you using?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Home page breaks when I attempt to edit](https://wordpress.org/support/topic/home-page-breaks-when-i-attempt-to-edit/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/home-page-breaks-when-i-attempt-to-edit/#post-7389487)
 * Hi
 * What theme are you using?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Short link errors](https://wordpress.org/support/topic/short-link-errors/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/short-link-errors/#post-7388998)
 * Need more information about those two pages (double check their permalinks) if
   the above code doesn’t help a bit.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Short link errors](https://wordpress.org/support/topic/short-link-errors/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/short-link-errors/#post-7388997)
 * Hi
 * Try this:
 * `<?php echo wp_get_shortlink(get_the_ID()); ?>`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Removing visible code from a single post](https://wordpress.org/support/topic/removing-visible-code-from-a-single-post/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/removing-visible-code-from-a-single-post/#post-7390589)
 * Hi
 * It’s hard to pinpoint the cause without looking at the other associated files.
 * You can try reverting to the original code and applying `style="display:none;"`
   to the <h3> and the <img> to see if that helps restore the site.
 * Also ensure that you haven’t overwritten the site’s index.php file (in the WordPress
   root dir) by mistake.
 * Let me know how it goes 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [start hour](https://wordpress.org/support/topic/start-hour/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/start-hour/#post-7391095)
 * Hi
 * What plugin are you using ?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to take a home section and get a widget](https://wordpress.org/support/topic/how-to-take-a-home-section-and-get-a-widget/)
 *  [epicdevspace](https://wordpress.org/support/users/epicdevspace/)
 * (@epicdevspace)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/how-to-take-a-home-section-and-get-a-widget/#post-7391538)
 * Hi
 * Go through your the code in the homepage’s template file.
 * You can then create a simple custom plugin and paste that section over. It might
   require a bit of editing to ensure that the file structure to retrieve css etc.
   remains intact.
 * Then create a shortcode. You can then call this on all your pages and posts.
 * Pros
    A standalone plugin is easier to manage
 * Cons
    Requires an update when your theme undergoes a major update

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

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