antr
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox Gallery] [Plugin: Lightbox Gallery] Where is the description???Me too, the same! And the beautilful previous style (as showed in this review http://speckyboy.com/2009/03/31/10-image-and-gallery-lightbox-solutions-for-wordpress-plugins/) has been replaced by a ugly style with very ugly icons!
What’s happened?Grazie Sara, it’s ok now. 🙂
Same errors for me. Is it possible to know if there are any news? Thanks.
Forum: Fixing WordPress
In reply to: insert a script in a postThe ditor eaten two *br* tag in the last sentence. Nevertheless I hope it is understandable.
Many thanks also to Richard for his suggestion which I have read only two minutes ago.Forum: Fixing WordPress
In reply to: insert a script in a postThanks, solved loading an external script file with
<script type=”text/javascript” src=”MyScriptFile”></script>
and then calling a function with another
</script type=”text/javascript”>MyFunction();</script>
WP inserts two
in the post where I have added these two lines but it is an acceptable drawback.Forum: Fixing WordPress
In reply to: change path of gallery imagesYes, but can I overwrite it for the images of one of my galleries?
Forum: Fixing WordPress
In reply to: clarification about template hierarchyPerfect, thank you.
Forum: Fixing WordPress
In reply to: clarification about template hierarchyI have /understood/ the flow chart in horizontal way.
But in my opinion the /vertical/ way is /not/ clear.
You have not answered to my doubt.
Which is the order conditions are tested?
1) is_home
2) is_404
3) is_search
4) and so on
or another one?Forum: Fixing WordPress
In reply to: lists all the posts of two categoriesOk, I have verified that the “hack” works even if I add the above code line in category-mycategory.php. So I will submit another topic to see if category posts can be recalled from pages menu.
Edit: I solved pointing my page to category/mycategory/ using Page Links To plugin. It would be perfect if I could use relative paths instead of absolute path, but the workaround is acceptable for my needings.
Forum: Fixing WordPress
In reply to: lists all the posts of two categoriesMaybe a suggestion.
If I modify index.php for Home Page, adding
<?php query_posts($query_string . '&cat=-3,-8'); ?>
line as made in
http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category,
navigation buttons are displayed.
So, is there any method to create a page which acts as Home Page?
In other words, can I have many different home pages?Forum: Fixing WordPress
In reply to: lists all the posts of two categoriesOk, I understand that if the [previous posts] link recalls the same page the query is re-executed …
I’m asking if the “Page” approach is suitable. Is any hack of category template possible?Forum: Fixing WordPress
In reply to: lists all the posts of two categories1. Solved. Thank you.
2. Do you mean it’s impossible? I do not understand why category.php template displays navigation links and page-mytemp.php, which is identical apart the lines before
<?php while (have_posts()) : the_post(); ?>
doesn’t.
I have seen that function get_next_posts_link in link-template.php is called, but my limited knowledge does not allow me to understand the rest.Forum: Fixing WordPress
In reply to: lists all the posts of two categoriesI have made some progress but I have two problems yet.
What I have made:
a) copied the template file category.php as page-mytemp.php
b) create a page mytemp.php
c) edited page-mytemp.php template inserting your code, after changing posts_per_page from -1 to 5
Now, when I ask for mytemp page, I see the list of the last 5 posts in my categories, but:
1) the whole post contents are displayes, even if I have inserted the <!–more–> tag
2) the [next posts] and [previous posts] links at the bottom are not displayed.
Notice that if I ask for a category, the teaser is respected and the navigation links are displayed.
Maybe there there any other parameters to define $args?
Thanks for your patience.Update: added the following lines to template but without success. 🙁
global $more;
// set $more to 0 in order to only get the first part of the post
$more = 0;Forum: Fixing WordPress
In reply to: lists all the posts of two categoriesThanks for your reply. Forgive me, I am a quasi-newbie.
I have quickly read the documentation you linked.
Can you tell me in which template I have to insert your php code? Or (I suppose equivalently) which is the template which displays all the posts from a certain category or from a certain tag?
Thanks.