• vonsomething

    (@vonsomething)


    (sigh) Ok. The first two themes I tried (default and can’t remember) were impossible to work with. I chose a third theme with a layout close to what I wanted, and was thrilled to find I could change the colors and header and type/sizes, and certain other things necessary to get the look I wanted.

    Unfortunately, I didn’t know what widgetized meant, at that point. Now I very nearly have the site finished, only to find the final tweaks would probably be easier if I could use (for example) a sidebar widget. I know that for anybody comfortable with PHP, this might be a snap to widgetize my site, but I’m not so sure.

    Here is what I want to do:

    1. drop the first item in the sidebar (categories) so that it is horizontally aligned with the body of the first post on the page.

    2. I changed the name of “blogroll” (header in sidebar) to “Outside” with no trouble. But when I want to change “recently written” to “recent” – I find the “recently written” header in the middle of some php code : <div id=”recentposts”>
    <h3><?php _e(‘Recently Written:’); ?></h3>

      <?php get_archives(‘postbypost’, 10); ?>

    </div>
    and I fear changing it might have some insidious effect on the proper archiving of the posts (or that it will cease to work altogether).

    3. I want to add a couple of “buttons” to the bottom of the sidebar. I understand it’s not good coding practice to have the code provided (html) by the site for the button in the sidebar php file – but where do I put it otherwise?

    I don’t want to start over with another theme at this point, when I nearly have the site complete – but these simple changes don’t seem so simple. Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • peiqinglong

    (@peiqinglong)

    #2: <h3><?php _e('Recently Written:'); ?></h3> the _e is just a localization echo. Changing what it says will do no harm to the PHP code.

    #3: what do you mean by “buttons”?

    Thread Starter vonsomething

    (@vonsomething)

    Thanks Peiq. the proper terminology escapes me, but I’m talking about like a visual link to (for example) XHTML validation, and to Technorati. They provide code which includes a link for the image that resides on their server, and with Technorati, the ability for someone with a account to click the image to add your site to their Technorati favorites.

    peiqinglong

    (@peiqinglong)

    Well as far as the xhtml validation, add this to where you want the image to appear:

    <p>
        <a href="https://validator.w3.org/check?uri=referer"><img
            src="https://www.w3.org/Icons/valid-xhtml10"
            alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
      </p>

    Most people change the default xhtml pic to some cooler looking one.

    The technorati one can be achieved via plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adjusting sidebar position’ is closed to new replies.