Forum Replies Created

Viewing 15 replies - 196 through 210 (of 380 total)
  • Thread Starter ejm

    (@llizard)

    Thank you, both.

    I used Alcymyth’s href="' . site_url() . '/favicon.ico" and put the favicons into the theme folder. Finally, the coding is appearing in the header area.

    Thread Starter ejm

    (@llizard)

    Thank you both for your replies.

    Esmi, I’m not authorized to show the URL to the site at this point. sorry. (It’s not my site; it’s my sister’s.) I’ll try putting the icon into the theme folder but it still doesn’t make sense to me that that is necessary.

    I am connection problems today – hoping maybe this is part of the problem

    Thread Starter ejm

    (@llizard)

    Here it is:

    http://codex.wordpress.org/Child_Themes

    function favicon_link() {
        echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n";
    }
    add_action( 'wp_head', 'favicon_link' );

    It doesn’t make sense that this won’t work even if wordpress is in its own folder. Please note that this coding for the favicon is working on the rest of the site.

    Thread Starter ejm

    (@llizard)

    But the coding should appear when viewing the source code, shouldn’t it?

    The favicon is already in the main file of the site. WordPress is in its own folder. Do I have to use the full link or do I really have to put the favicon into the wordpress folder too?

    Thread Starter ejm

    (@llizard)

    Good ideas to check the error logs or enable DEBUG (I’ll just have to remember to disable it once the site is live). Thank you.

    As for the recent fix to functions.php, alas, the shortcut icon is not actually appearing in the coding of the header. Is there something I’m missing? (I got that example of coding from the codex.)

    Thread Starter ejm

    (@llizard)

    Augh! That was all? Who would have known that an extra closing curly bracket would cause the page to go blank?

    Thank you, Esmi.

    Thread Starter ejm

    (@llizard)

    Sigh. Another correction…

    The images are showing on the main page but when I go to the actual post, the image disappears.

    example:
    The Cookbook cover shows here etherwork.net/blog/

    But when going to the post itself, the cookbook cover disappears: etherwork.net/blog/?p=1672 and there is no sign of the coding of the image in the source code.

    Where have I misstepped?

    -E. Morris

    Thread Starter ejm

    (@llizard)

    Correction!! (sigh… proofreading is always a good thing, isn’t it?)

    The images are now showing up as expected. (I had the wrong path on for the image file)

    But I still do not see the new fields on handy list on the edit post page

    -E Morris

    WP3.5; Firefox18.0.2; WinXP

    Thread Starter ejm

    (@llizard)

    Yes. I’m pleased to report that upgrading to php5 solves the problem.

    Thread Starter ejm

    (@llizard)

    After reading the following http://codex.wordpress.org/Switching_to_PHP5 I’m suspecting that the plugin failure is due to my webhost running PHP4 rather than PHP5. I have sent a request for support for PHP5. Fingers crossed that the request is granted AND that that is the solution….

    Thread Starter ejm

    (@llizard)

    But I want to use the plugin!

    Perhaps I need to reword the question…

    I have now installed a test wordpress – version 3.0.5 with the twenty ten theme and all the plugins that I have on my current wordpress. After activating the theme-check plugin, this is the result I see when going to the ThemeCheck page in the admin area:

    Parse error: syntax error, unexpected T_STRING in ../testwordpress/wp-content/plugins/theme-check/checkbase.php on line 11

    What version of MySQL is required for this plugin to work OR what changes should be made to checkbase.php on line 11 so that the plugin works with MySQL4?

    EMorris, WinXP, Firefox3.6.8, WP3.0.5, MySQL 4.1.22

    Thread Starter ejm

    (@llizard)

    Am I correct that you are suggesting to delete the .htaccess file from the wordpress folder? As suspected, it made zero difference. The error message remains.

    It seems to me that any change would have to be to the plugin coding.

    EMorris, WinXP, Firefox3.6.8, WP3.0.5, MySQL 4.1.22

    Thread Starter ejm

    (@llizard)

    I looked a little more at http://codex.wordpress.org/Function_Reference/previous_post_link and have now altered the coding to the following (I remembered to fix the character entities and make sure they ended with semicolons):

    <?php
    previous_post_link('%link', '<b>&laquo;</b> %title <b>&laquo;</b>  ', FALSE, '7');
    next_post_link('%link', '  <b>&raquo;</b> %title <b>&raquo;</b>', FALSE, '7');
    ?>

    And hey presto, the previous/next post links (with the exception of any links to posts in the #7 category) are showing up only on the actual post pages. Yay!

    Thread Starter ejm

    (@llizard)

    Excuse me for replying to myself yet again. Because I did not receive any replies to my questions, I continued googling and searching. While it might not be the most elegant or perfect solution, I do think it works.

    MichaelH suggested to “edit the single.php” in a reply to the thread Display text on one post and one post only?

    My theme didn’t have a single.php file but now it does. I have removed the following coding from my theme index.php and put it onto the newly formed single.php

    <?php previous_post_link('<b>&laquo</b> %link <b>&laquo</b> &nbsp;'); ?> <?php next_post_link('&nbsp; <b>&raquo</b> %link <b>&raquo</b>'); ?>

    This will work well for now. I’ll stare at the following to see if there is a tidier way. http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page

    -E

    Thread Starter ejm

    (@llizard)

    sigh… please excuse me for replying to myself yet again.

    I just noticed that I was using the now deprecated tags previous_post and next_post (http://codex.wordpress.org/Function_Reference/previous_post). I have now changed the coding on my index page to read the following – it is within the loop.

    <?php previous_post_link('<b>&laquo</b> %link <b>&laquo</b> &nbsp;'); ?> <?php next_post_link('&nbsp; <b>&raquo</b> %link <b>&raquo</b>'); ?>

    Irritatingly, the links are still showing on the index page.

    Just to reiterate, what must I do to get those links to show ONLY on the post page and not on the main blog page?

    -EMorris, Firefox 3.6.8, WinXP, WP3.0.5

    etherwork.net/blog/ «« I have purposely left this unlinked, in an attempt to keep spammers at bay.

Viewing 15 replies - 196 through 210 (of 380 total)