Title: skakels's Replies | WordPress.org

---

# skakels

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/skakels/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/skakels/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help on code: If logged-in, hide image. If not logged-in, show image.](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/#post-4199532)
 * ok. Thanks for your help. I will plink away until I find the right spot!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help on code: If logged-in, hide image. If not logged-in, show image.](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/#post-4199456)
 * So you can see what I’m talking about, below is the URL to my site.
 * [http://socpi.pe/GK1Vmm](http://socpi.pe/GK1Vmm)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help on code: If logged-in, hide image. If not logged-in, show image.](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/#post-4199454)
 * Sadly, it’s not for my side bar. I’m planning to add a picture that points to
   the upper left corner to remind users to register or log into my site.
 * A common complaint of my users is that they don’t know where to register / log-
   in. Since WordPress adds this to the admin bar (upper left corner), I’m looking
   for a way to call it out to the user community.
 * A quick image, just below the main menu, would do the trick.
 * If not logged in, display the arrow and verbiage. Otherwise, if already logged
   in, they will never see it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help on code: If logged-in, hide image. If not logged-in, show image.](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/#post-4199444)
 * Is there anyway to do this from a text box?
 * If not, my theme has a place to add custom JavaScript.
 * The “block” of code that I would have to then hide is <P>.
 * Would that be something that is doable?
 * Possibly the original code I posted could be modified to hide Div?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help on code: If logged-in, hide image. If not logged-in, show image.](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/help-on-code-if-logged-in-hide-image-if-not-logged-in-show-image/#post-4199436)
 * Hi graphical_force,
 * Thanks for clarifying.
 * I copied and pasted your code into the “text” option of a write-up on one of 
   my pages, but it didn’t work. Rather, it displayed the code as well as displayed
   the test image I was using.
 *     ```
       <?php
       if ( is_user_logged_in() ) {
           echo '<img src="https://www.google.com/images/srpr/logo6w.png">';
       } else {
           echo 'No image for you!';
       }
       ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Page formatting help](https://wordpress.org/support/topic/page-formatting-help/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/page-formatting-help/#post-803672)
 * Perfect! That worked beautifully. Thank you.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page formatting help – CSS/PHP](https://wordpress.org/support/topic/page-formatting-help-cssphp/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/page-formatting-help-cssphp/#post-803084)
 * That’s great. Your suggestions worked perfectly. Thank you, stvwlf.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing excerpt rather than entire post](https://wordpress.org/support/topic/showing-excerpt-rather-than-entire-post/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-excerpt-rather-than-entire-post/#post-803035)
 * I found the answer to my problems. I was unaware of the “more” tag that should
   be inserted within your post where you would like excerpt to end.
 * I found this answer at the below link:
    [http://codex.wordpress.org/Customizing_the_Read_More](http://codex.wordpress.org/Customizing_the_Read_More)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Showing excerpt rather than entire post](https://wordpress.org/support/topic/showing-excerpt-rather-than-entire-post/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/showing-excerpt-rather-than-entire-post/#post-803022)
 * I just noticed that the link I supplied for my site is incorrectly formatted.
   Below is a working link:
 * [http://shortlink123.bounceme.net](http://shortlink123.bounceme.net)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Indenting Subcategories](https://wordpress.org/support/topic/indenting-subcategories-2-2/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/indenting-subcategories-2-2/#post-802937)
 * syrupcore,
 * Since have helped me so much with this issue, I have a question off topic.
 * If you look at my page, you will see a search bar on the right side of my navigation
   bar.
 * I have been trying to get the search box to center of the middle of the blue 
   line, but I cannot figure it out. Could you offer a quick solution for this? 
   Thanks again!!
 * [http://shortlink123.bounceme.net](http://shortlink123.bounceme.net)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Indenting Subcategories](https://wordpress.org/support/topic/indenting-subcategories-2-2/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/indenting-subcategories-2-2/#post-802935)
 * awesome! thank you for the help. VERY much appreciated.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Indenting Subcategories](https://wordpress.org/support/topic/indenting-subcategories-2-2/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/indenting-subcategories-2-2/#post-802890)
 * syrupcore,
 * I tried your suggestion, but my categories are still displaying the same. Any
   thoughts?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Indenting Subcategories](https://wordpress.org/support/topic/indenting-subcategories-2-2/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/indenting-subcategories-2-2/#post-802882)
 * You make that sound so easy about adding it into the CSS. Sadly, at my skill 
   set, I am not 100% sure what you mean.
 * How can I add that string you gave into my CSS so it will work with?
    `<?php 
   wp_list_categories('hierarchical=1&sort_column=name&title_li=');`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Indenting Subcategories](https://wordpress.org/support/topic/indenting-subcategories-2-2/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/indenting-subcategories-2-2/#post-802879)
 * Handy,
 * I tried the code you suggested, but it returned the same problem I had stated
   in my first post. What could be trumping an explicit statement?
 * Site:
    [http://shortlink123.bounceme.net](http://shortlink123.bounceme.net)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Indenting Subcategories](https://wordpress.org/support/topic/indenting-subcategories-2-2/)
 *  Thread Starter [skakels](https://wordpress.org/support/users/skakels/)
 * (@skakels)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/indenting-subcategories-2-2/#post-802876)
 * Hi HandySolo,
 * I have been looking at the exact article you identified, but I cannot seem to
   get the code to work correctly.
 * I am new to php and css, so my experience with witting or modifying code is still
   limited.
 * If anyone can show me the code I will need, or code very close to what I am looking
   for, I would be extremely appreciative. Thank you all for your help thus far!
   🙂

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/skakels/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/skakels/replies/page/2/?output_format=md)