Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Could you have been using a plugin to embed the YouTube videos? If so you need to install it on your self hosted blog.

    Thread Starter jamiedust

    (@jamiedust)

    Fantastic!

    I had been trying to find the function to hook into but had no luck. For me this was a temporary solution to get clients started on the right foot (until an update wipes over the changes). I will try this out later, thanks again.

    Take out what I told you to put in and from line 51 – 55 replace with this

    if (is_category( '327' )) {
      the_content();
    } else if($theme->get_option($theme->options['template_part'] . '_content_display') == 'excerpts') {
      echo '<p>' . $theme->shorten(get_the_excerpt(),$theme->get_option($theme->options['template_part'] . '_excerpts_length')) . '</p>';
    } else {
      the_content('');
    }

    If this doesn’t work you may be best off asking the theme developers as it looks like the theme has quite a lot of custom options including excerpt display and length.

    Looking at that there should be a file called loop-categories.php in your template folder? and in that you should find the_excerpt, we could add a conditional statement, something like:

    if (is_category( '327' )) {
      the_content();
    } else {
      the_excerpt();
    }

    which asks if the category we are viewing is category with id 327, if so we display the content, if not we display the excerpt.

    I hope this helps?

    Hi, you would need to create a new template for that category, call it category-YOURCATID.php this template would be a copy of the template currently used, which is probably category.php, or if not archive.php

    Then in your new template find where it says ‘the_excerpt()’ and replace with ‘the-content’.

    hope this helps?

    Forum: Fixing WordPress
    In reply to: noindex,nofollow

    Hi, sorry I misread your post and didnt realise you were using multisite, I think you have to do it for each site seperately, not the master network admin

    Forum: Fixing WordPress
    In reply to: Page.php Help

    Hi you would find page.php either via ftp ‘/wp-content/themes/theme-name/page.php’ or you can edit it in WordPress directly, look in the menu under appearance > editor.

    For help in removing specific things we would need to know what theme you are using or see some code.

    Forum: Fixing WordPress
    In reply to: noindex,nofollow

    In the admin – settings > Privacy

    select ‘I would like my site to be visible to everyone’ and save the changes, the meta tag should go

    Thread Starter jamiedust

    (@jamiedust)

    Hi

    I have a solution to this, you need to edit the following file:

    wp-admin/includes/media.php

    Go to line 899

    Change the line: $link = get_attachment_link($post->ID);
    to
    ‘$link = wp_get_attachment_url($post->ID);’

    This means that if either option is chosen the image will always link to the image url.

    Then to line 914, simply delete this line, this removes the link to attachment button.

    Let me know if this works for you.

    Thread Starter jamiedust

    (@jamiedust)

    Hi, I have many wordpress installations where I just modify the default theme and have never had this problem, however from now on I will make sure to always use a different name for my themes.

    Regarding the plugin, I will just wait till they update it, in the meantime I downgraded to 3.01.

    thanks for all your help guys.

    Thread Starter jamiedust

    (@jamiedust)

    bump

    Thread Starter jamiedust

    (@jamiedust)

    ok, i changed the permissions on htaccess to 666 and it works ok now, funny how it was working fine after i upgraded and i have done nothing to it since, then it went down…
    whats the best permissions setting for htaccess?

Viewing 12 replies - 1 through 12 (of 12 total)