Marcomail
Forum Replies Created
-
Forum: Plugins
In reply to: integrate this loop codeI wouldn’t use the category-visibily plugin, i want understand how can integrate this code in two line:
<?php if (have_posts()) : while (have_posts()) : the_post();
query_posts(‘cat=1,2,3,4,5,7,9’);
?>Is it correct ?
Forum: Plugins
In reply to: integrate this loop codeOr do you have the best way to exclude two categories from the main page ?
Forum: Fixing WordPress
In reply to: Upload an image bugany?
Forum: Plugins
In reply to: More post in category pagei have created page category-6.php and i’ve added after
<?php get_header(); >this code
<?php query_posts(‘category_name=from-other-blog&showposts=20’); ?>
now it works without any plugin.
Forum: Plugins
In reply to: More post in category pageI have understand, but the plugin is clear.
In the option you can make a custom query for a specific category to show the last, for example, 20 post order by date, category, title etc etc
So, if what you say is exactly…the plugin don’t work, if it worked i could make what i’m saying.
I would like have only 1 category to show 20 post, you advise me to create a custom page category-6.php (i have read the docs) with a different loop…and it’s ok for me, after i will try to do this operation
Forum: Plugins
In reply to: More post in category pageyes, it’s the right plugin version, 2.7 the last one for WordPress 2.0.
I have tried with the original theme and it doesn’t work for a specific category.
have you tried it in wordpress 2.0.2 for show tot post in a specific category ? For general archive and category it works well
Forum: Plugins
In reply to: More post in category pageI have the same result, it shows me only 10 post, and not 20…i have created category.php page with the same code of archive.php, but after i have created a custom query for the category it shows me only 10 post ??
why ?
Forum: Plugins
In reply to: More post in category pageI have created the category.php template but it’s the same
Forum: Plugins
In reply to: More post in category pageI have tried to set is_archive and is_category to show 20 post and it works….but if i tried to set for a specific category it doesn’ work.
sorry if i speak more simple but i’m not english ??i have only the archive.php page
Forum: Plugins
In reply to: More post in category pagethis is the code in archive.php page:
<?php while (have_posts()) : the_post(); ?>
<div id=”postimage”></div>
<div class=”post”>
<div class=”storycontent”>
<?php the_content(‘Read on »’); ?>
</div><h2 class=”storytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark” target=”_blank”><?php the_title(); ?></h2>
<div class=”date”>Published on <?php the_time(‘l’) ?>, <?php the_time(‘F’) ?> <?php the_time(‘jS’) ?>, <?php the_time(‘Y’) ?> | <?php comments_popup_link(__(‘No Comments’), __(‘1 Comment’), __(‘% Comments’)); ?> <?php wp_link_pages(); ?> <?php edit_post_link(‘Edit’); ?> </div>
<!–
<?php trackback_rdf(); ?>
–></div>
Forum: Plugins
In reply to: More post in category pageI have created a new condition, but now i should modify archive.php page ? Now i can’t see any different
Forum: Plugins
In reply to: Feedwordpress no link in the single pagebut in my single page there isn’t a link to the same page…but with feedwordpress must be a link to the original article
Forum: Fixing WordPress
In reply to: where i put an include ??It works but for me it’s not the best place, yesterday for example i have receive another error…i have add the include in wp-blog-header.php and it works.
Which is the best place to put it, now i have put it at the top…but i can include better ?:
<?php
include (“in.php”);
?>
<?phpif (! isset($wp_did_header)):
if ( !file_exists( dirname(__FILE__) . ‘/wp-config.php’) ) {
if ( strstr( $_SERVER[‘PHP_SELF’], ‘wp-admin’) ) $path = ”;
else $path = ‘wp-admin/’;
die(“There doesn’t seem to be awp-config.php
file. I need this before we can get started. Need more help? We got it. You can create awp-config.php
file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.”);
}$wp_did_header = true;
require_once( dirname(__FILE__) . ‘/wp-config.php’);
wp();
gzip_compression();require_once(ABSPATH . WPINC . ‘/template-loader.php’);
endif;
?>
Forum: Fixing WordPress
In reply to: Max 8 post in the main pageNow under the main page you can see “previus entries” and “Next entries”… i would like know if there is a hack to show numbers instead of “previus entries” and “next entries”
For example, my database have 400 post…every page show 8 post…i would like a navigation number with 50 number like this:
1 – 2 – 3 – 4…..
Forum: Fixing WordPress
In reply to: Max 8 post in the main pageis it possible create a navigation menù with number ?