Pedro
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to display the child category of a specific parent category…Using that code:
<?php foreach((get_the_category(‘orderby=ID&order=ASC’)) as $childcat) {if (cat_is_ancestor_of(8, $childcat)) {echo ‘cat_ID).'”>’;
echo $childcat->cat_name . ‘ ? ‘;}}?></span>How can I make to short it by ID ??
I am trying with
..get_the_category(‘orderby=ID&order=DESC’)…
but it doesnt work!Thanks!
Forum: Themes and Templates
In reply to: Sidebar positionnever mind
Forum: Fixing WordPress
In reply to: Paged Navigation doesn’t WorkThank you very much!!
It fixed it!!!!
-nacho
Forum: Themes and Templates
In reply to: Modifying the loop to output different code for the first post?Hi!!
I am using your code to style differently the latest post. It works perfectly but It make problems within paged problems, when I want to go page 2 of the older post, it always go to 1 page.
what’s wrong?
thanks!!
Forum: Fixing WordPress
In reply to: Paged Navigation doesn’t WorkThe problem is code php tha tI changed to style differently the first post. I copied the code from here, but I cant see where is the porblem.
thnaks.
-nachoForum: Themes and Templates
In reply to: Index.php goes mess upThanks songogtech!!
Actually it’s mess up with IE7 and lowers being tested with windows PC.
it runs ok with Firefox, Safary and Chrome. I guess I can’t do anything. ??Thank you very much!!!
Forum: Themes and Templates
In reply to: Index.php goes mess upHi!
still workking on it.I improve all error from the validator and still it’s mess uo when it’s run with IE
I dont know what else I can do!!
Forum: Fixing WordPress
In reply to: Transferring RSS FeedI have the same problem, I had my blog in https://www.igmosi.com/blog and now I am moving to https://www.igmosi.com. I would like to keep my subscriptions, so I guess I have to redirect the feed adress.
should i add this in .htaccess??
Redirect 301 /oldfeed https://www.igmosi.com/feed/
thanks!
Forum: Themes and Templates
In reply to: Change appearance latest postForum: Themes and Templates
In reply to: Index.php goes mess upThis is How my blogs looks if I check it on
https://ipinfo.info/netrenderer/index.php
blog:
https://www.igmosi.com/blog??
Forum: Themes and Templates
In reply to: Index.php goes mess upThanks!
Well, I’m not an expert of php so;
About <div id=”more”> that the way I tried to give a CSS style to something I created new. I put this in the index.php (<div id=”more”>) an then with #more in CSS I give it style. Is it wrong?
This is just the link to the post using <?php the_excerpt(); ?> to make a sumary in index.php.about ?, I checked it in html editor on each post and I didnt find any of them.
Do you think those errors are who mess it up for IE??
Forum: Themes and Templates
In reply to: Index.php goes mess upThank very much!!!
I am working on it, but there are some errors I dont get it.
#1 Where can I change this?
—
Line 82, Column 81: character “?” not allowed in attribute specification list…ttp://igmosi.com/blog/basket-balcony/”?><img width=”580″ height=”391″ src=”htt…
—#2 ???
—
Line 108, Column 171: ID “more” already defined…aste) thinking about …<div id=”more”><a href=”https://igmosi.com/blog/pr…
An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
—thanks!!!
Forum: Fixing WordPress
In reply to: How to display the child category of a specific parent category…Ah, it worked, just problems ading the separator
“echo ‘cat_ID).'”>’;
echo $childcat->cat_name . ‘‘;If you want to include a seperator just add it into the echo after the cat_name.”
how?
Forum: Fixing WordPress
In reply to: How to display the child category of a specific parent category…@joshuwar: I am trying to do the same as you, show child categories of each parent category, but it didnt work for me. In your code,
<?php
foreach((get_the_category()) as $childcat) {
if (cat_is_ancestor_of(7, $childcat)) {
echo $childcat->cat_name;
}}
?>where do you chose the parent??
and, what does ‘7’ means??thanks!!
Forum: Fixing WordPress
In reply to: Show only a parent categoryOk, I got it,
but how I select the parent “LOCATION” in this sentences;
<?php the_category( $separator, $parents, $post_id ); ?>
should be:
<?php the_category( ‘ , ‘, ‘Location’); ?>
it didnt work.