Frumph.NET

I'm in your site touching your stuff.
  • Home
  • Contact
  • Documentation
    • Custom Avatars
    • Custom Menubar

Hiding Menubar links from being viewed – wp_list_pages

Jul19
by Philip M. Hofer (Frumph) on July 19, 2009 at 7:09 am
Posted In: Wordpress

Someone on twitter was asking how to ‘hide’ menubar items from being displayed to the end user, but still exist. This can be done with various plugins on the WordPress repository. Going to show you how to do it with CSS.

Well this is how it works, the wp_list_pages() function generates the links  that are shown in your menubar, with a side-effect of adding CSS class statements.

If you view’ your source code (view-source) while looking at your site you will see the ‘end result’ output of your website you can see what classes are created for each menu item.

For example, here at frumph.net if you view the source, by right-clicking the screen then choosing view-source you will see that the “archive” link shows that there is

<li class="page-item page-item-3">

.. that class page-item-3 is specific and individual for that archive link.

If I wanted to hide the archive link from being viewed in the menubar I just need to do a little CSS.

.page-item-3 {
     display:none;
}

Creating a class in your stylesheet of the name you found for that menu item will let you do what you want with it. Adding display:none; to the class in the css will make it ‘not visible’ to be seen in a browser.

– Phil

└ Tags: menubar, tricks
 Comment 

Comicpress RSS feed for Comics Only

Jul13
by Philip M. Hofer (Frumph) on July 13, 2009 at 6:00 am and modified on July 25, 2014. at 9:25 am
Posted In: Wordpress

WordPress has a nifty little feature that you can specify a specific category alone to show the feeds with.

(if you’re using pretty permalinks)

for example, johnn saturn’s normal feed is:  http://johnnysaturn.com/feed/ – that will display the comics, the blogs and everything it can in one big open feed.

However if you want to see *just* his comic feed it would be: http://johnnysaturn.com/category/comics/feed/

That will display the feed for *just* the comics category.  Give it a try on your site, like:  http:// yoursite.com / category / <comicscategoryname> / feed /

My feed for Anomaly comic : http://anomaly.frumph.net/category/webcomic/feed/

I use the “webcomic” category for the comics so ^ putting that in will show just the category webcomic feed.

This works best with pretty permalinks btw.   Best permalink setting is /%category%/%postname%/  if you don’t have that as the permalink then change it, cause google and yahoo and other engines *hate* the permalinks that look like dates.

– Phil

└ Tags: tricks
12 Comments

ComicPress 2.7 Menu-Bar Active CSS

Jul08
by Philip M. Hofer (Frumph) on July 8, 2009 at 11:26 am
Posted In: Wordpress

While working on upgrading another author’s site this morning I stumbled across a .. neat feature of wp_list_pages.   

↓ Read the rest of this entry…

 Comment 

Warning – Your /comics/ directory might be not secure.

Apr10
by Philip M. Hofer (Frumph) on April 10, 2009 at 3:02 pm
Posted In: ComicPress

It has come to my attention from a couple twitter Advisors, @Dr_Mike and @stealthiscomic that quite a few wordpress/comicpress users still have their comics directory for everyone to view. This isn’t secure in the fact that if people post their comics in advanced for pre-publishing users can read ahead in their archives. This also opens up to the possibility of people pilfering the entire archive without viewing the ads on your pages.

↓ Read the rest of this entry…

└ Tags: Security
6 Comments

WordPress Theme title replacement

Feb23
by Philip M. Hofer (Frumph) on February 23, 2009 at 12:15 pm
Posted In: Wordpress

In Comicpress and other wordpress themes i’ve noticed that there are multiple different ways that the <title> code can be outputted to the users browsers.   Several of them .. *including* mine have bloginfo(‘name’); showing up in the code but [not] being echo’d out to the title line which is causing some strange behavior.

↓ Read the rest of this entry…

 Comment 
  • Page 29 of 30
  • « First
  • «
  • 26
  • 27
  • 28
  • 29
  • 30
  • »

Recent Posts

  • The Proginator – Chapter 1-17
  • The Proginator – Chapter 1-16
  • The Proginator – Chapter 1-15
  • The Proginator – Chapter 1-14
  • The Proginator – Chapter 1-13

Recent Comments

  • Philip M. Hofer (Frumph) on ComicPress 2.9 CSS Overview – Part 1 – Entity List
  • James Duran on ComicPress 2.9 CSS Overview – Part 1 – Entity List
  • Philip M. Hofer (Frumph) on Understanding do_action() and add_action() – Revisited
  • sandeep on Understanding do_action() and add_action() – Revisited
  • Philip M. Hofer (Frumph) on ComicPress 4.0 soon to be released.

Categories

  • Articles
  • Blog
  • Chapter 1
  • Comic Easel
  • ComicPress
  • Easel
  • FAQ
  • Guide
  • Information
  • Proginator World 323
  • Prologue
  • Uncategorized
  • Wordpress

©2008-2021 Frumph.NET | Powered by WordPress with ComicPress | Subscribe: RSS | Back to Top ↑