• Unfamiliar with PHP, she wonders, How do I edit the output of
    <?php _e('Categories:'); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    or
    <?php _e('Archives:'); ?>
    ?

Viewing 10 replies - 1 through 10 (of 10 total)
  • In the CSS.
    I think the Categories and Archives headings would be #menu ul li and then the lists themselves would be #menu ul li ul li? I am not positive, those get confusing when I am not looking right at them.
    The comments link would be styled with the feedback class.

    https://www.php.net/
    But you don’t need to go there.
    Archives / Categories are styled using the CSS. The output from each is a list, so it is being correctly styled as such.
    If you don’t want bullets, remove them :
    https://faq.wordpress.net/view.php?p=35
    By the way, in order to change virtually ANY aspect of the appearance of a wordpress weblog, you do not need to know any php at all. None. All you do need is a willingness to poke around the stylesheet ??
    https://blog.nuclearmoose.ca/wp-docs/wp-layout-explained.htm
    https://www.mfr.f2s.com/graphicalcss/

    @ unpoedic : I must correct a misapprehension lest inexperienced readers be confused. If any one marks up a list in html / xhtml the output by default will be in a bulleted list. Nothing to do with WordPress or php. As the guys say if you do not like them then turn em off in the css with list-style-type: none applied to the relevant selector. (#menu ul would do it)

    Thread Starter unpoedic

    (@unpoedic)

    Yessir, the business of bulleted lists, etc., I believe has at last resonated in that stubborn spot between my ears. Thank-you–all–for your assistance.
    Furthermore: My attempts to customize hyperlinks within the “feedback” class have failed, whereas the code [see below] works correctly when tested elsewhere. What other method would you recommend trying?
    a.feedback {
    background : url(img/date-pointer_o.gif) left center no-repeat;
    border-bottom : none;
    color : #444;
    display : block;
    font-size : 9px;
    margin : 15px 0 25px 0;
    padding: 0 0 0 15px;
    }
    a.feedback:hover {
    background-color : #fafafa;
    background-image : url(img/date-pointer.gif);
    border-bottom : none;
    color : #444;

    In what way does it appear incorrect ?
    display: inline;
    may be useful though ?

    does
    .feedback a {
    background : url(img/date-pointer_o.gif) left center no-repeat;
    border-bottom : none;
    color : #444;
    display : block;
    font-size : 9px;
    margin : 15px 0 25px 0;
    padding: 0 0 0 15px;
    }
    .feedback a:hover {
    background-color : #fafafa;
    background-image : url(img/date-pointer.gif);
    border-bottom : none;
    color : #444;

    help?
    “feedback” isn’t the ID or class for the a tag, but it is in the wrapper div class. That’s how you read hte CSS from left to right. In the “feedback” class, mark up a tags like this……
    TG

    IMHO tech. That should be fine for unpoedic. but:
    background: #fafafa url('img/date-pointer.gif'); might be bettter.
    Just my 2c.

    Thread Starter unpoedic

    (@unpoedic)

    Y’all are wonderful. ??

    Well we try. Thanks.

    Hey guys just need some elaboration on what you’ve been talking to unpoedic about.
    Basically you can see my problem here:
    https://www.brokenkode.com/makeshift.php
    I’m trying to build a set of static pages. Now for the main page I wanted to hide the links, and calander etc and have those come up in seperate pages. So in the css I put something along the lines of
    #menu {
    display:none
    }
    However when I’ve set up my static pages using this tutorial,
    https://techgnome.anderson-website.net/posts/2004/02/19/static-wp-pages-made-easy/
    , I got the links to work, but I can for the life of me pin point which part of the css actually formats that particular section.
    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Formatting’ is closed to new replies.