Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • I use Performancing for Firefox. It should handle your 20 blogs easily. Of course, if you don’t use Firefox, you can download it from here.

    The URL is:

    https://www.mikesaffiliates.net/index.php

    You don’t have any posts yet, but as soon as you post something you should see it on your blog through that URL.

    If you’re using Version 2.0+, if the user has the capability to publish posts, then the user is the writer of the post. See Roles and Capabilities.

    If you are an administrator, you can define the user’s role from the Admin Panel (Users-Authors & Users).

    If your question is about changing the user ID of a post, you could run a MySQL UPDATE query on wp_posts. This is not how WordPress is intended to be used, so it’s kind of a back door.

    If you want more detailed control over roles, look at Owen Winkler’s Role Manager Plugin.

    The documentation has a useful example – testing a condition. Here’s the code:

    <?php if(wp_list_pages("child_of=".$post->ID."&echo=0")) { ?>
    <ul>
    <?php wp_list_pages("title_li=&child_of=".$post->ID."&sort_column=menu_order&show_date=modified&date_format=$date_format");?>
    </ul>
    <?php } ?>

    The if test is testing to see whether there actually are any child posts. If there are any, then wp_list_pages is called again, with echo = 1 (true – the default) to actually output the child posts.

    You could generalize this to test for some other condition (such as the existence of a specific page name), do the if test, and if true, output the result by calling wp_list_pages again with echo = 1. Or, say, you want to display the child posts of ID 2 only if there are child posts of ID 1. It’s a bit inefficient, requiring two calls to the same function, but it would do the job.

    You coded the list item Its been said, as follows:

    <li id="sideblog-1" class="widget widget_sideblogwidget"><h2 class="widgettitle">Its been said</h2>

    You also have an embedded CSS style as follows:

    <style type="text/css">a.rsswidget{display:inline !important;}a.rsswidget img{background:orange;color:white;}</style>

    If you add an embedded style spec to turn off bullets for all list items, as follows:

    <style type="text/css">a.rsswidget{display:inline !important;}a.rsswidget img{background:orange;color:white;}
    li {list-style:none;}
    </style>

    it should remove the bullets from your sidebar, regardless of what was specified in any previous imported or external style sheet.

    This technique works only for this page. You could add the spec to the bottom of your template’s style.css, and it might work for other pages. Otherwise, you’re stuck adding the embedded style to each page.

    You could try uploading the adsense.php file directly to wp-content/plugins. That’s worked for me for some plugins in the situation where the plugin manager didn’t see it. The associated files and folders (like image folders) need to be located relative to wp-content in that case. Before doing any of that, delete any adssense plugin files you have uploaded before because there could be a file conflict.

    I don’t like to do this because the plugins folder gets crowded and there could be filename conflicts, but that’s life.

    SWH,

    You’re correct about the “em” vs. “px” trick. Font sizes in “em” units are relative to the font itself – historically, an “em” unit is the width of the letter M in the designated font. So when you change the font size, all the sizes specified in “em”s change relative to it.

    Font sizes in “px” are absolute sizes in pixels. These sizes will be the same no matter what the browser’s font is. Here is an explanation of CSS font sizes.

    As far as changing themes, when to use px, em, or other font sizes is a design decision. If you don’t like your theme, find another that’s closer to your design requirements, and tweak the CSS from there.

    Append the word /feed to your blog’s URL. Thus, if your blog is at https://www.ovenbird.com/blog/, use

    https://www.ovenbird.com/blog/feed/

    Look in the style.css file of your theme. The calendar is styled with an id of wp-calendar. wp_calendar outputs the calendar as a table. With CSS you can change the presentation of your calendar. You can change the background attribute to match the rest of your blog, as well as change the various table cells.

    Go to CSS Resources for helpful CSS links. I’ve also found this CSS Cheat Sheet to be helpful.

    When you unzip a folder that contains a folder, you get the following structure:

    adsense201
    –adsense
    —-adsense.php

    You need to upload to wp-content/plugins the second level folder (adsense), or even the individual files (adsense.php and so on).

    I checked out WordPress in Your Language, in the Codex. Apparently, there’s a Hebrew translation of WordPress already done. It’s here. I couldn’t tell you if that’s true, since the page is in Hebrew, but I could make out that the title is “WordPress in Hebrew”. I also see the numbers 2.0.2 in English, which leads me to believe that it’s the latest version.

    There’s a link to the same page (Ran Yaniv Hartstein blog) for the Kubrick theme in Hebrew.

    Sounds like you might save some work if you started with a Hebrew version of WordPress with a Hebrew theme.

    In MySQL, each user has a record in the wp_users table. The user name is in the user_login field; their email is in the user_email field. If you can send and receive email, the SMTP location is already set.

    What wp-login.php does is look up the username you entered when attempting to log in, calculate a new password, and then use the wp_email function to email the password to the address in the user_email field for that user.

    I’m assuming you can use MySQLAdmin to see the wp_users table. Look for a username (admin, say) and get the username’s email address. That’s where the password is sent.

    Sounds like your theme’s sidebar is not “widget-enabled”. Use the Theme Editor to edit your theme’s sidebar.php. If the sidebar is widget-enabled, you should see a line of code like this:

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    near the beginning div tag. If you don’t see that code, you either can

    (a) install a widget-enabled theme. I like Rebecca Wei’s WordPress Themes, which are widget-enabled.

    or

    (b) add the widgetizing code yourself to sidebar.php. Go to Andy Skelton’s Official Widget Page. He explains all.

    You’re getting the categories because your sidebar displays them in conventional fashion, not because you installed the category widget.

    Forum: Fixing WordPress
    In reply to: ID count problem

    You need to set the auto_increment value to 278 in wp_posts (assuming your database has the default prefix wp_. If not use the prefix for your blog.

    The following SQL will set your auto_increment to 278:

    SQL>ALTER TABLE wp_posts AUTO_INCREMENT = 278

    See auto_increment documentation for more information.

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