SimonJ
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: what the heck did I just do?!From my point of view, you don’t have to know php to work in the template files. If you know html and CSS, you will likely be able to help him, as long as you understand “the loop” and the templates tags.
http://codex.ww.wp.xz.cn/The_Loop
http://codex.ww.wp.xz.cn/Template_Tags
—
Log in the account via ftp
browse to the wordpress install directory (in this case, I would guess it’s beta/)
There, you will have a folder “wp-content”. This is where you will find all the “content” stuff of wordpress (plugins, theme, etc.)
The theme your friend uses seems to be named “clean”… So :
/beta/wp-content/themes/clean
There you will find the “template files”.
Try to understand the template hierarchy first :
http://codex.ww.wp.xz.cn/Template_Hierarchy
To get you started, normally, all “page” share the same header (header.php) and footer (footer.php) and have a “sidebar” (sidebar.php)
All other files are “between” these two files (index.php, single.php, etc.)
And the styling of all these files is in style.css…
Good luck.
S.
Forum: Plugins
In reply to: Newbie issuesIn your template file…
header.php
index.php
sidebar.php
footer.phpAnd so on…
http://codex.ww.wp.xz.cn/Stepping_Into_Templates
S.
Forum: Fixing WordPress
In reply to: post title & post content in one lineOh, sorry! I misreaded you! I readed “the title” and “the author”…
Sorry.
S.
Forum: Themes and Templates
In reply to: i cant use <img> tags in a theme???Ok… I managed to zoom the image to see your code.
If your images directory is in the theme folder, you must use something like:
<img src="<?php bloginfo('template_directory'); ?>/images/yourimage.jpg" alt="" /><?php bloginfo('template_directory'); ?>generate the complete path to your theme directory… If your image are in a sub folder in your theme, then you add it :<?php bloginfo('template_directory'); ?>/images/On the html side, it will output :
<img src="http://www.yourdomain.com/wp-content/themes/yourtheme/images/yourimage.jpg" alt="" />S.
Forum: Themes and Templates
In reply to: i cant use <img> tags in a theme???This image is totally useless for us
We need the link to your site…
S.
Forum: Fixing WordPress
In reply to: post title & post content in one lineYes, it’s totally possible. Put the title and author tag on one line :
<?php the_title(); ?> <?php the_author(); ?Make sure you don’t have these codes wrap in different header tags (<h1>, <h2>, etc.).
Your best bet would be to fit them in the same div or the same header.
Something like :
<h2><?php the_title(); ?> <?php the_author(); ?</h2>You can give a class to to h2 to style it as you want :
<h2 class="title_and_author"><?php the_title(); ?> <?php the_author(); ?</h2>S.
Forum: Plugins
In reply to: Newbie issuesFirst thing to do when you face this kind of problem, is to validate your page.
S.
Forum: Fixing WordPress
In reply to: Can Public Edit Published BlogIt’s because you are logged in as an admin/author of the post.
Go to the admin panel and log out. This “edit” link will then disapear…
S.
Forum: Themes and Templates
In reply to: i cant use <img> tags in a theme???You can definitely use <img> tag in a template file, along with any html tag.
The path to your images is probably wrong. You have to point your theme folder.
If you could give us an url or any example of what you’re trying to do, we will give you a solution.
S.
Forum: Fixing WordPress
In reply to: Separate blog on a page. Can this be done?If you are new to wordpress, take a little time to understanf what a PAGE is in the wordpress terminology :
http://codex.ww.wp.xz.cn/Pages
And also, a must read :
http://codex.ww.wp.xz.cn/WordPress_Semantics—
My fisrt guess would be to create two big mother categories : english and japanese. Then, these categories could have their own sub-categories. Then, on your index, you can choose to display only posts from the english category if you like to do so.
You can also use a WordPress PAGE with a loop to display posts only from the category japanese. For this, you will have to understand what is a “page template” and “the loop”.
S.
Forum: Fixing WordPress
In reply to: How to make current-page name on menu highlighted?Well. I understand that you want the menu item for the page you are reading to be highlighted.
Read this :
http://codex.ww.wp.xz.cn/Dynamic_Menu_Highlighting
The main idea is to assign the class “current” (or wathever) to the list item when you are reading the page with a conditionnal tag (if is page x, then the li class for this page = current).
S.
Forum: Fixing WordPress
In reply to: Any way to put things in the HEAD section of a page?Well… Call your script in the <head> section of header.php then use it wherever you need in your template files… (category, single, index, page, etc.)
S.
Forum: Fixing WordPress
In reply to: Only titles are showing up on postsHum, difficult to tell offhands since I don’t have your WP version installed for testing.
First thing to try : revert to the default theme to see if it solve the problem. If so the problem is relative to your theme…
If it don’t solve the problem, try to “save draft” before tryng to display the preview.
And consider an upgrade.
S.
Forum: Fixing WordPress
In reply to: Only titles are showing up on postsWell… The content of your posts is obviously there…
S.