Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter noonoo

    (@noonoo)

    I realised a mistake i made i needed to use <?php single_tag_title(); ?> instead of <?php single_cat_title(); ?>, it all seems ok now but again if anybody knows of a better way to run two loops in the tag.php or the methods i mentioned above are incorrect please let me know.

    Thanks

    Nick

    Thread Starter noonoo

    (@noonoo)

    I just noticed a problem with <?php single_cat_title(); ?> not showing the tag title in the second loop, so i changed the loops to:

    <?php if (have_posts()) : ?>
    
    Cat Title Here...
    
    <?php $posts = query_posts($query_string . '&cat=-100&showposts=100'); while (have_posts()) : the_post(); ?>
    
    Loop 1 Stuff...
    
    <?php endwhile; endif; ?>
    
    <?php rewind_posts(); ?>
    <?php if (have_posts()) : ?>
    
    Cat Title Here...
    
    <?php $posts = query_posts($query_string . '&cat=100&showposts=100'); while (have_posts()) : the_post(); ?>
    
    Loop 2 Stuff...
    
    <?php endwhile; endif; ?>

    But it didnt seem to help, if i move <?php single_cat_title(); ?> after the <?php $posts = query_posts it shows the category title its getting the posts from rather than the tag title for the page.

    Thanks for any help

    Nick

    Thread Starter noonoo

    (@noonoo)

    Thanks for the quick reply this worked perfectly and saved so much time compared to editing each post manually.

    Many thanks

    I dont know about editing wordpress but its really easy to do it via ftp permissions so when your editor connects to the webspace via an ftp client he will only see and have access to the style.css

    As its not a wordpress edit when you upgrade wordpress to newer versions you wont have to remember to make the edits again or update any files.

    Check the folder your uploading is just the theme folder with the files inside, if the theme folder is inside another folder making it 2 levels deep i think that can stop it showing.

    Some zip programs like to do this by default i had this problem with a plugin not showing because of it.

    Hope this helps

    The easiest way i can think of is to make a folder inside your themes folder called ‘css’ and to move your style.css to it (update the header.php to point to the new style.css location), then setup some ftp access in your webspaces control panel making a new account that can only access the new ‘css’ folder and give that information to the editor.

    Hope this helps

    Hi, i had the same problem a while back you want to use the code below:

    <img src="<?php bloginfo('template_directory'); ?>/images/nice_picture.png" border="none" alt="alternative text" />

    Hope this helps

    You want to add the analytics code before the </body> tag which in most templates is found in the footer.php.

    You can either open your templates footer.php in a text editor like notepad and add the analytics code before the </body> tag then upload the edited footer to your site / blog.

    Or you can log into your wp-admin and edit the theme through that again adding the analytics code before the </body> tag in your footer.php.

    There is also a wordpress plugin that allows you to add the code from the wp-admin panel without editing your templates.

    Hope this helps

    You can choose a custom template for pages when your creating a page, say you want to use a custom template for your ‘about’ page, just create a normal page called ‘about’ and you will see amongst the options for that page a drop down box for Template, click and choose the custom page template you want to use.

    To make your custom template show in the drop down box so you can select it put this code at the top of your page-full.php:

    <?php
    /*
    Template Name: Page Full
    */
    ?>

    The custom page can be styled as you like so removing the sidebar and changing the layout if fine.

    I hope this helps

    Use category-3.php instead of categories-3.php

    Yep whenever i mentioned sql above i meant mysql, like grandslambert said if your host wont give you a database then finding a new host is the best option. I would only use a free external mysql database if i was stuck with my current host.

    There are some free sql database hosting websites, you would upload the wordpress files to your webspace as normal and when installing just enter the free external sql details.

    Im not sure how reliable, fast or secure these databases are but i have read of people using them for their live websites and forums etc, if you do use free database hosting i recommend backing up your site often.

    Just google free sql hosting to find websites that offer it.

    Hope this helps

    Nick

    The easiest way is to download the feeds favicon, edit it so its the same size as the current rss image and when saving it choose the same file type as the current rss image and file name.

    Then upload it overwriting the origional rss image with your new one.

    You dont need to put the files anywhere in wordpress they should all stay with the theme that needs them so just put the folder inside the theme’s folder with the carousel.

    Hope this helps

    Nick

    You want to edit your theme and remove:

    <a class='rsswidget' href='https://www.animegerad.com/community/index.php?act=rssout&id=4' title='Syndicate this content'>
    <img style='background:orange;color:white;border:none;' width='14' height='14' src='https://animegerad.com/wp-includes/images/rss.png' alt='RSS' />
    </a>

    You will probably find the code in your sidebar.php, open with a text editor like notepad to edit then reupload.

    Or if you dont like the idea of editing the theme you can make a transparent rss.png and upload it overwriting the current one.

    Hope this helps

    Nick

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