noonoo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Is this dual loop in my tag.php ok to use?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
Forum: Fixing WordPress
In reply to: Is this dual loop in my tag.php ok to use?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
Forum: Fixing WordPress
In reply to: Change custom field value for all posts using phpmyadminThanks for the quick reply this worked perfectly and saved so much time compared to editing each post manually.
Many thanks
Forum: Themes and Templates
In reply to: Giving editor role access to edit css (roles and capabilities)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.
Forum: Themes and Templates
In reply to: Not able to use my chosen themeCheck 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
Forum: Themes and Templates
In reply to: Giving editor role access to edit css (roles and capabilities)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
Forum: Themes and Templates
In reply to: Adding images to a themeHi, 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
Forum: Themes and Templates
In reply to: Google AnalyticsYou 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
Forum: Themes and Templates
In reply to: conditional pageYou 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
Forum: Themes and Templates
In reply to: Custom Categories pageUse category-3.php instead of categories-3.php
Forum: Installing WordPress
In reply to: SQL Installation HelpYep 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.
Forum: Installing WordPress
In reply to: SQL Installation HelpThere 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
Forum: Themes and Templates
In reply to: Removing feed icon from RSS feed widget?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.
Forum: Fixing WordPress
In reply to: Location for SWF FilesYou 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
Forum: Themes and Templates
In reply to: Removing feed icon from RSS feed widget?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