User Instructions
Appreciate the plugin? Consider making a donation here.
Category Page Extender enables you to insert posts into various pages on you blog according to the corresponding categories. It includes page navigation if you wish to limit the number of posts per page.
Download Category Page Extender here
Category Page Extender is based on the relations set up using the Category Page plugin by pixline.
***YOU MUST HAVE THE CATEGORY PAGE PLUGIN INSTALLED IN ORDER FOR CATEGORY PAGE EXTENDER TO WORK.
Installation:
- First install category page by pixline
- Download the plugin Zip archive.
- Upload `Category Page Extender` folder to your `/wp-content/plugins/` directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Setup some relationships between Categories and Pages using the Category Page plugin (see Category Page documentation here)
- Tweak `page.php` in your theme folder (see below).
- Enjoy!
Tweaking the ‘page.php’ file:
Open up page.php in your template folder (you may also set up a seperate a Page Template)
For the most basic setup, insert the following below the loop statement in the page.php file:
<?php if( function_exists(page2cat_pages)){ page2cat_pages(get_the_ID()); } ?>
I recommend you wrap the function in your standard post class. For example:
<div class="post"> <?php if( function_exists(page2cat_pages)){ page2cat_pages(get_the_ID()); } ?> </div>
Plugin Options
<?php if( function_exists(page2cat_pages)){ page2cat_pages(get_the_ID(), posts per page, number of pages); } ?>
Posts per page: (default = 10) set to 0 to show all
This sets the number of posts to show at one time on the page.
Number of pages: (default = 15) set to 0 to show all
This tells how many page numbers to show at a time on the page navigation bar.
Example of Category Page Extender with variables:
<?php if( function_exists(page2cat_pages)){ page2cat_pages(get_the_ID(), 5, 10); } ?>
This will list 5 posts and up to 10 page numbers at a time on the page navigation bar.
<?php if( function_exists(page2cat_pages)){ page2cat_pages(get_the_ID(), 5, 0); } ?>
This will list 5 posts and show all the page numbers available on the page navigation bar.
<?php if( function_exists(page2cat_pages)){ page2cat_pages(get_the_ID(), 0); } ?>
This will list all posts associated with the category/page.
Customizing Post Display
Category Page Extender uses a generic code to display each post. You can customize it or copy and paste new code from your index.php file from the theme. You will find the code starting on line 76.
***Note that by default Category Page Extender only shows the excerpt of the post. To change this, replace:
<?php the_excerpt() ?>
on line 79 with:
<?php the_content() ?>
See code and highlight line below:
<?php /////////////////////////////////////////////////////////////////////////// /// You can replace the code below to match your theme /// /// (you can copy this from your archive.php, index.php or customize it /// /////////////////////////////////////////////////////////////////////////// ?> <?php // ----- Start Code Replace ------ ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post"> <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> <div class="entry"> <?php the_excerpt() ?> </div> <div class="postmetadata"><?php edit_post_link('Edit', '', ' | '); ?> <?php the_time('d F Y') ?> | <?php the_author_posts_link('namefl'); ?> | <?php the_category(', ') ?> | <?php comments_popup_link('No Comment', '1 Comment', '% Comments'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>" class="more">Read More</a> <?php the_tags('<br /> Tags: ', ', ', ''); ?></div> </div> <?php endwhile; endif; ?> <?php // ----- End Code Replace ------ ?> <?php /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// ?>
If you post code in the comments section, I recommend you wrap the code with wordpress’s sourcecode feature.
</code> <code>Type your code here.</code> <code> </code><code>
Otherwise your code may not show up when posted.
Permalink # Paul O'Connor said
Hi,
Thanks for the plugin.
Only thing is I can’t seem to get it to work. Maybe its because of the theme I’m using (Thesis 1.6) or maybe some of the code in my template I made is incorrect. I made a new template file for the page I want to display posts from ID=15 in. The code I placed in the template is:
ID=15, 20);} ?>
Is this correct?
Permalink # Paul O'Connor said
Sorry/ Forgot to use code quotes:
ID=15, 20);} ?>
Permalink # GrpSmglr said
I’m assuming when you say you want the ID=15 you’re talking about the category ID?
Have you installed the Category Page plugin from Pixline ( http://wordpress.org/extend/plugins/page2cat/ ) ? The plugin is necessary in order for Category Page Extender to work. After installing the plugin make sure to make the correct connections between the categories and corresponding pages.
You don’t enter the ID into the function parameters. You just use $post->ID. This pulls the current pages ID and then looks for the corresponding categoryID and list the posts on the page.
Assuming you want to show 20 posts per page, after you set up the category/page connections your code should look like this:
<?php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID, 20);} ?>
Permalink # Paul O'Connor said
Thank you for your reply. Its very appreciated. I’m still not able to make it work though.
I have installed Category Page and have made the connection between category 15 (Rinpoche’s News) and the News page. I did make the mistake of entering the ID code (15) in the formula before, but have now corrected it. Because the Thesis theme has no Page.php, I have created a template called ‘Page of Posts’ and placed your formula in it. I have then selected that template to be used in the page I created. The complete code in that template is as follows (if it shows up!):
<?php
/*
Template Name: Page Of Posts
*/
ID, 20);} ?>
Maybe you would take a look at the page in question? its at http://new.bodhicharya.org/?page_id=52
Thanks for all your help.
Paul
Permalink # GrpSmglr said
Hey Paul,
Your code didn’t show up…try wrapping it in wordpress sourcecode feature.
Read more about it here: http://en.support.wordpress.com/code/posting-source-code/
Permalink # Chris said
Hi, I installed the plug-in successfully. However, the same post appears three times on the page. I can’t seem to figure out why.
Check it out: http://www.yerevanreport.com/feature/
I’m using WordPress 2.8.6.
Please let me know what I’m doing wrong.
Thanks.
Permalink # GrpSmglr said
Chris…I didn’t see the problem on your page…did you fix it?
Permalink # April said
I, too, am getting double posts on my page. You can view what I mean at http://artdreamlife.com/short-stories/
I noticed, though, that the initial post (The Day the Music Died) is posted twice but the second post added (Blue Bird of Happiness) only appears once. These are only test posts as I am just setting up the site so you’ll be seeing a lot of lorem ipsum.
I used the default settings included in the plugins php code. The post display is set to “content” and I used the following option: “…($post->ID, 0);} ?> (without quotes of course!).
The blog theme is the Style 2 Christmas theme from InstantShift.
I really appreciate the time and effort you put into this. It will make organizing my site that much easier!
Take care,
April
Permalink # GrpSmglr said
did you alter the category page extender php file? For some reason it’s show the posts when it’s supposed to calculate the page numbers.
Can you wrap your sourcecode in wordpress’s sourcecode feature: read about it here: http://en.support.wordpress.com/code/posting-source-code/
Permalink # April said
Guess it helps if I actually place the code before The Loop. I think I’ve got it fixed!
thanks,
April
Permalink # April Hayman said
I have altered it according to your directions and I’m still not getting page numbers. What am I missing?
By the way, I’ve tried putting the code before and after the loop. Only putting it before the loop works otherwise I get a repeat of the first post.
Permalink # GrpSmglr said
you can also try switching out
$post->
and replace it with:
get_the_ID()
Permalink # GrpSmglr said
April…Your site still looks a bit messed up to me. When I look at your sourcecode it seems that the second copy of your stories are beeing wrapped in the comments div.
Can you post your all your code from your page.php file (or whatever page template file you use). Make sure to wrap it with the sourcecode feature. See red box above if you don’t know what I’m talking about.
Permalink # April said
Thanks for looking. Here is the source code from the page.php file:
Permalink # April said
Ignore the other post. I’ve got two blogs and the one below I have no problems with. Sheesh. What a day. Anyway, here is the real live source code for page.php for artdreamlife.com! Thanks!
Permalink # GrpSmglr said
try to take out lines 23-27 and just use this code:
right after:
on line 54…let me know what happens
Permalink # April said
Did as you requested the page shows up but my posts are missing. Suggestions?
And thanks. This is probably some of the best customer service I’ve ever received!
Permalink # Greg MD said
Thanks for this great plugin. Works great for me!
It is written that “by default Category Page Extender only shows the excerpt of the post” but in my case (and as I can see also on April’s page http://artdreamlife.com/short-stories/) both the excerpt and the full content of the posts are displayed. I would to have only the excerpt to be displayed on the page.
Any help would be very appreciated.
Thank you in advance!
Greg
Permalink # GrpSmglr said
I’m not certain whats going on, but I have some ideas. Did you put the Category Page Extender short-code before or after “The Loop”? (the part of the the page.php where it has “if (have_posts()) : while (have_posts()) : the_post();”)
If it’s before, try moving the shortcode to after “The Loop”. (it should look something like this: “endwhile; endif;”) I think this will fix the problem.
Also if you want the formating to look like the rest of the site you may need to change the code on lines 76-88 of the category-page-extender.php file to “the Loop” your page.php file has, just make sure to swap out the_content() with the_excerpt().
Hope this helps let me know if it works.
Permalink # Lou said
Moving the code after the loop “phicksed’ my prob with getting 3 displays.. using WP 3.0.1 with zGrey 0.9.2:
Permalink # Lou said
Addendum to previous reply:
Permalink # Sharon said
Hi,
I’m currently using Category Page with the shortcode on a page. It works great BUT there appears to be a problem with pagination? When you click on the link to go to the next page of posts, it just redisplays the current list of posts. So, you only ever see the first ten (or so) posts even if there are many more. Does your plug in solve this problem? WOULD LOVE IT if it did!!! 🙂
Permalink # Sharon said
I thought I’d add a link to the page showing the problem:
http://sfoley.horsemansarts.com/iida/board-2/
Thanks! Sharon
Permalink # GrpSmglr said
My plugin in works slight differently.
For one, the Category Page plugin puts a particular page on top of a category’s archive page. What my plugin does is, working off the structure of Category Page, it places posts from a particular category into a linked page. So to use my plugin you may have to structure your site slightly differently (link to pages rather than categories).
As far as the pagination goes, Category Page Extender has it’s own built in pagination function, so that should work without any problems.
Let me know if you use it and if I can be of any further help.
Permalink # Sharon said
Thank you for your reply. I’m not quite following what you mean about placing posts from a particular category into a linked page. Here’s what I want to do. You can see it in the URL above… I want the category archive to appear on a page accessed from a page menu. When you say structure the site different, how would it need to be different? Thanks in advance.
Permalink # GrpSmglr said
Do you mean post pagination? If so I’m not sure how my plugin will work with that. I built pagination around x number of posts per page. Give it a shot and let me know!
Permalink # GrpSmglr said
I haven’t done anything with paginated posts, but I could imagine the plugin could be easily adapted to support them.
Permalink # Sharon said
There are about 40+ posts in the category in question. Only about ten seem to show up. Try it out, you’ll see when you click on ‘older posts’ you only see the same ten displayed again. There is obviously something wrong with the plug in but it appears that the person who wrote it is not maintaining it any more. So no help there. I’m not ‘married’ to that plugin to getting my problem solved. So, I’m open to using a different solution.
Permalink # GrpSmglr said
I see what you’re talking about. Yes my plugin should work well, how ever you need to keep Category Page installed to use it, just remove the code from the category archive page. But continue to use for the category/page link.
What you need to do is have the link for Board Members go to a page (maybe called board) instead of a category archive, create a custom template (board-page) for the page and then follow the instructions above. It should work great.
Permalink # Sharon said
Thank you for looking! Let me make a clarification so we’re both on the same page (no pun intended!). The way I’m using the Category Page plugin is with the shortcode: [catlist=x] on a PAGE. So, I already have a page called “Board”. The Page2Cat plugin puts the ‘board members’ category archive ON the page. Not the other way around. It is very simple, which is good because I’m no coder!! Since I already have a page, will your plugin give me the same effect? The archive on the page?
Permalink # GrpSmglr said
oh ok. In that case delete the [catlist=x] shortcode. And if you haven’t sent up a page/category link, do that under Category Pages menu.
My plugin doesn’t use shortcodes so you need to add:
<?php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID);} ?>
to the page.php file (very simple), or create a template page for it, and then I recommend you replace lines 76-88 of the category-page-extender.php file with the loop statement from the page.php file in your template directory. And that should be it.
Permalink # Walter said
Hi, I’m an idiot when it come to code. I’ve installed both plugins, and have already checked the box I want for the Category Page. But I didn’t change any code for the Category Page plugin itself.
If it matters, I designed my “theme” with Artisteer.
All I want to do is publish posts associated with category A on the category A page, and publish posts associated with category B on the category B page.
Below is my page.php code. I’m not sure whether or not this is the only page which requires tweaking.
Can someone help me modify the code below? And, tell me if I need to modify any other code pages? Thanks much!
<a href="” rel=”bookmark” title=””>
<img src="/images/PostDateIcon.png” width=”18″ height=”18″ alt=”” />
Permalink # Walter said
PS looks like my message was cut off!
Permalink # Greg MD said
Does your page.php has this code?
ID, 0, 0);} ?>
Have you gone to the WordPress Dashboard>Pages>Edit (the page you want) and click at the bottom the “Category Page Options?”
Permalink # Greg MD said
My msg was also cut off!
The code is in this page just below the “Plugin Options”.
Permalink # Walter said
Hi, no I don’t see
ID, 0, 0);} ?>
anywhere on my page.php
Permalink # Greg MD said
The code was cut off.
Look for the code: php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID,0,0);}
(I deleted one at the end, I think this is the reason for cutting the messages).
Permalink # GrpSmglr said
right after THE LOOP in your page.php file paste this line:
<php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID,0,0);} ?>
(to get the code to show up on these comments, you need to use html char codes for < (<) and > (>) around the ?php part of the code.)
You may still need to tweak the category-page-extender.php so that the posts match your theme. The easiest way to do this is to copy the loop from the page.php file (or the index.php) replace lines 76-88 of category-page-extender.php with the loop from your page.php (see image above).
Permalink # Walter said
Greg, weird, my page.php doesn’t have that. (I used the “find” feature in dreamweaver) I suspect that this is because I’m using an Artisteer theme, and it may have its own way of doing things.
Permalink # Greg MD said
Add the code. Paste the line GrpSmglr indicated.
Permalink # Walter said
another try at posting my entire page.php code:
<
<a href="” rel=”bookmark” title=””>
<img src="/images/PostDateIcon.png” width=”18″ height=”18″ alt=”” />
>
Permalink # Walter said
I think I better give up. it will be easier to start a seperate blog.
Permalink # GrpSmglr said
walter I just emailed you…email me the code and I’ll take a look at it.
Permalink # Artisteer-user said
Same problem here, with Artisteer?
Did you guys find a solution?
Permalink # GrpSmglr said
i just sent you an email
Permalink # Sharon said
OK I did what I THOUGHT I should do, but nothing is showing. So obviously I’ve missed something. I’m using the Atahualpa theme, btw. Do you know anything about that theme?
Permalink # GrpSmglr said
sharon, check out thomas’s reply. That should work well using the [catlist=5] shortcode.
Permalink # Thomas Gordon said
Hey guys, love the plugin, I think I have the solution to what a lot of people here are talking about, open the category plugin php file and look for
//Permalink for page scrolling
$base_link = get_permalink();
if ( strcspn($base_link,’?’) > 0){
$variable_prefix = ‘&’;
} else {
$variable_prefix = ‘?’;
}
If you’re using a different permalink structure to the default, you may have to change $variable_prefix = ‘&’; to $variable_prefix = ‘?’;
Before the plugin just refreshed the same list of posts but now it all works very well for me. 😀 Thanks again.
Permalink # Sharon said
Hey Thomas,
That sounds encouraging. I found the code you mention but since I don’t know what I’m doing 😉 can I ask a question? Are you saying that the result would be changing this:
‘if ( strcspn($base_link,’?’) > 0){
$variable_prefix = ‘&’;
} else {
$variable_prefix = ‘?’;
}’
to
‘if ( strcspn($base_link,’?’) > 0){
$variable_prefix = ‘?’;
} else {
$variable_prefix = ‘?’;
}’
Or have I missed something?? I’d sure love to fix this problem!
Permalink # GrpSmglr said
hey sharon,
I fixed the pagination error and you can download the new version at http://wordpress.org/extend/plugins/category-page-extender/ .
I also sent you an email if you want more specific help.
Permalink # Sharon said
Hi,
I uploaded the new plugin version (Yay!) but I’m still having the same problem. But then at the moment I’m still using the shortcode [catlist=5]. Were you thinking that your fix would solve that problem? Maybe not.
Maybe I just don’t understand how the plugin is supposed to be set up? I’m using the Atahualpa theme which is highly customizable. So, there isn’t a page.php file, per se. There is a place where code can be added ‘below the loop’. I put your code there (figured that was the right thing to do) but ended up with an error msg on the front page.
This project doesn’t, I’ll admit, really warrant investing in customized solutions! So, for now (unless I can figure out how to set it up right!) I’m making a Plan B which involves avoiding the whole thing all together–just put a link to the archive page on the sidebar!
Thanks for everything!
Sharon
Permalink # GrpSmglr said
sharon, I just sent you an email.
Permalink # piotrkolodziej said
Hi,
I am using INove theme which has slightly different page.php:
<div class="post" id="post-“>
<?php edit_post_link(__('Edit', 'inove'), '’, ”); ?>
I do not seem to know where to put the:
ID);
} ?>
line.
Could you help me with that?
Kind Regards
Piotr Kolodziej
Permalink # piotrkolodziej said
Ops…. Sorry about that:
Inove theme’s page.php:
and the line:
Permalink # GrpSmglr said
Put it there.
Permalink # piotrkolodziej said
Now the page only displays it’s text – no posts assigned to category which is assigned to this page.
Permalink # GrpSmglr said
try changing the function to:
or
Permalink # piotrkolodziej said
Is there a way to display only posts – not page unique post? It seems that page’s unique post is dispayed always at the top. Here is my solution:
Permalink # GrpSmglr said
that could work, although I’d recommend making a separate page template (if you don’t know how go here: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates ).
Then just take out line 20 on your code above because I think that may cause the last post’s content to be repeated.
Permalink # Daniel said
I installed the new version and the plugin stopped working on changing pages! Can you post the old version? Thank you.
Permalink # GrpSmglr said
how long ago did you update it? I realized I made an error and altered ver 1.0.2 about 24 hours after first uploading it. Try downloading it again and if it doesn’t work let me know. You can also download older versions here: http://wordpress.org/extend/plugins/category-page-extender/download/
Anyone else having problems with ver 1.0.2?
Permalink # Daniel said
OK! Downloaded again and worked liked a charm! Thanks!
Permalink # Aaron said
Can you tell how to get it working in an thematic framework environment? How do I filter that very first snippet “if function exists cat page2cat…” into my thematic childtheme?
I made the page2cat content show up already on a page but it obviously was not quite on the right place in the code.
please help, if it works this plugin is exactly what I need.
Thanks, Aaron
Permalink # GrpSmglr said
I don’t understand what you’re trying to do exactly. Can you send me a link to your site/page?
Permalink # Aaron said
Hi, thanks for quick response. I’m building my website on http://179263.webtest.goneo.de/wordpress/
Just a blank WP with a blank thematic childtheme with some posts and categories. Category Page and Category Page Extender are installed and activated.
Above you recommend tweaking the page.php file with this code:
Ok I understand that generally but I don’t have a clue how to insert the code via thematic’s functions.php
And bringing it directly into the page.php is diffcult either because the abovementioned loop statement isn’t written out in thematic’s page.php but is hidden in some thematic function
Permalink # GrpSmglr said
it looks like you got it figured out. Are you still having problems?
Permalink # Jordan said
Aaron,
I’m also using the thematic theme and I’m having trouble identifying where I have to insert the text in the page.php file.
Please advise.
-Jordan
Permalink # GrpSmglr said
It looks like the best place to put the code would be on line 20 (of the original template) right below:
you could also try to put it right before the code above.
If you are still having problems try replacing the:
$post->ID
in the plugin function with :
get_the_ID()
Let me know how it works.
Permalink # Jordan said
I’ve tried placing the code there and it still doesn’t seem to be doing what it should.
Here’s the code as I believe you have suggested.
Permalink # GrpSmglr said
try replacing
with
I think because $post was never defined in this page template, you have to use get_the_ID()
Permalink # John P. Neumann said
I applaud you for doing what you did with the extender. I’ve modified the actual plugin to show only excerpts of a page instead. If you’d like you can check it out at http://wordpress.org/support/topic/356177 . If you’ve got something to input to it feel free. I actually redid the plugin so it worked better for me, but I actually am going to abandon using it entirely I think. 🙂 However, I wanted to let people know how to get what they wanted out of it. Cheers
Permalink # John P. Neumann said
I’ve now updated the plugin and it can be downloaded from the previous link I provided. It adds the option to display full posts or just excerpts from within the admin panel of the original plugin. Just copy my code and replace the code in page2cat.php and that’s that. You can use any theme now without modifying it in any way shape or form. HTH.
Permalink # Shea said
Help please!
http://blog.opportunitygreaterphoenix.com/?page_id=1112
As you can see, 5 excerpts display nicely, but then the last also displays the whole post.
Ideally, I’d like all five posts to display their full content.
I’ve copied my page.php code below. Keep in mind, I don’t really know what I’m doing. A consultant company created the original code, and now I’m just trying to tweak it.
Any help would be much appreciated!
ID, 5, 0);
} ?>
Posted
on , ,
by ,
under .
<?php the_content('Read the rest of this page »’); ?>
‘Pages: ‘, ‘after’ => ”, ‘next_or_number’ => ‘number’)); ?>
Permalink # Shea said
Whoa – okay, my way of posting the code did not work. Have any ideas without seeing the code?
Permalink # John P. Neumann said
I don’t mean to be a jag, but instead of modifying your actual page templates you could just replace your original page2cat.php file with the one posted here http://wordpress.org/support/topic/356177 and then just choose excerpt or post in the original page2cat admin panel. Then you just make your template however you normally would and make your pages and link the categories to the pages like that. It has support for both excerpts and full posts. The only reason I’m not releasing it as a full plugin (and just an enhancement) is because support for it would be very little due to my own time constraints.
It just seems like the plugin is doing a whole lot to achieve very little, whereas you can just use the plugin and use your templates like you normally would.
Permalink # Shea said
Thanks John, but how do I replace the page2cat.php file? It tells me it’s not a writable file. And the link it suggests going to for help makes no sense to me.
Permalink # GrpSmglr said
john, I agree that the [catlist=xx] feature is simpler to use that setting up this plugin; however my plugin serves a slightly different purpose. Also I do like the addition you made of the excerpt/full post option.
First, once it’s setup, there is no need to use the catlist feature, just check the box on the page.
Second, it incorporates pagination. With the catlist feature (to my knowledge) if you choose to limit the number of posts there’s no way to seem older posts in the category other than clicking on the category archive, which although isn’t that difficult, it decreases the professionalism of a site.
Finally, it is designed to make updating as simple as possible for people with no knowledge of how the system works.
Permalink # GrpSmglr said
also, I edited your comment, please mind the language.
Permalink # Choyce said
Hi i am totally new to wordpress and i am using the Tarski theme http://tarskitheme.com/. I love the idea of this plugin but my lack of php coding knowledge has lead me to a brick wall. The theme that i am using doesnt have a page.php and even with the link that you had for us to read i am stumped on what to write in my new (post to page.php) file..
Any help at all would be so amazing.. This is driving me crazy..
Permalink # GrpSmglr said
Looking at the theme, I think you can avoid creating your own template. Since the theme only uses the index.php towards the bottom of index.php you should see:
right under the //End Loop line (on line 55 of original template file) try wrapping the plugin code with and is_page() if statement. i.e.
That should do the trick. For a small fee I also will install the plugin for you (check your email).
Good luck!
Permalink # Paulus said
Hi! Working on a new homepage (http://www.pilgrimsfolket.no/wordpress) – and your plugin is just what i needed. Now, it seems like I’ve got it to work, but at the end of the list of posts, the last post is shown with all content. You can see an example here: http://pilgrimsfolket.no/wordpress/?page_id=54
(it’s in Norwegian – hope you don’t get confused… :))
Permalink # GrpSmglr said
Did you make sure to put the Category Page Extender function after the endif statement in the page.php? if not try moving it there. If that still doesn’t work, post your page.php sourcecode and I’m pretty sure I can identify the problem (make sure to post the code using the sourcecode feature).
Permalink # Paulus said
Voilá 🙂 Didn’t get that part of the story – I just pasted it at a random place where it seemingly worked…
Thanks for patience with someone way too under-skilled for this kind of work 🙂
Permalink # Paulus said
Hi again! Is it possible to make the excerpt contain the page, until the “more”-tag, like on a “regular” post-page? As it is, the excerpt is just plain text until a certain amount of letters… Would also like the excerpt to read the html-code, so I can put an image or other html-code in the excerpt.
Many thanks for the help!
Permalink # GrpSmglr said
If you’re using the
tag then it should be pretty easy.
On line 79 of the category-page-extender.php file, replace the_excerpt() with the_content(). If you’re confused, look at the last part of the instructions above.
Permalink # Paulus said
I am using the more-tag, and I did change “the_excerpt()” with “the_content()” – but the only thing this does is publish a larger part of the post (still, there is a “read more”-link after a part of the article).
Is there anything else that might be wrong?
Permalink # GrpSmglr said
Can you give me a link to the website so I can see what’s going on?
Permalink # Paulus said
Sure, you can take a look here: http://pilgrimsfolket.no/?page_id=41
Permalink # Paulus said
Please observe, since the page is in norwegian, that the title is similar to the undertitles, so it’s not a lot of short articles, but actually just four of them. You can see where the article ends, where it’s a link called “Les mer…” (read more)
Permalink # GrpSmglr said
I took a look at it and I think I know what’s going on.
Are you happy with where it is putting the more link? At this point is the only problem how the post is being formatted?
If so, then take a look at your single.php or index.php file and copy “The Loop” from those (the part from if( have_posts() till endif;. and replace lines 74-85 of the category-page-extender.php file with that section.
good luck
Permalink # Paulus said
Well – no, it’s quite the opposite 🙂 I want the more-link to be where i put the more-tag. Maybe that’ll change if i only got it to actually read the html. I changed the loop you talked about, but I can’t make it work. Should/could the code be this?:
<div class="post" id="post-">
<a class="title" href="" rel="bookmark">
Permalink # Paulus said
weeell… my weak try to paste the code within some code-secure-stuff didn’t work out 🙂 How do I do this?
(by the way – I’ll be back tomorrow. It’s late here in Norway.)
Permalink # GrpSmglr said
Try reading up some on wordpress.org’s documentation page about the_content() tag as well as the tag. you might need to call some action to cut off the_content() tag or use the the get_the_content() tag and then limit the number of characters. Unfortunately, I don’t have the time to fully explore the options. If I get some time, I’ll look into it later this week. Let me know if you figure anything out.
Look at the bottom of the instructions to see how to post code using the wordpress sourcecode feature.
Permalink # Choyce said
Thank you for the help.. I got it installed and it works perfect..
Permalink # Charly said
Hi, I don’t know where to put the code. i’m putting it inside the div post and the first post of the category appears twice. Here is the code of my page.php:
<div class="post” id=”post-“>
Posted by: in
‘Pages: ‘, ‘after’ => ”, ‘next_or_number’ => ‘number’)); ?>
Back to top
thanks a lot!!
Permalink # GrpSmglr said
your page code didn’t show up..make sure to wrap it in WP’s sourcecode feature (see the bottom of the instructions). The code should go below the endif phrase if your page has it.
Permalink # Jake said
Hello… I found your plugin and am very happy I did so as I think it will do what I need it to do… but I’m very confused on how to use it… Can you or somebody help me set this up? Both necessary plugins are installed, I’m just afraid of messing something up in my pages.php file…
http://www.theaveryset.com
-You will see a “Press” page, I need the ability to post press articles to the “Home” page AND “Press” page, so I need to link a “Press” category to the “Press” page… does that make sense??? Can someone help me do this? Please?
Thank you!
Permalink # Jerry said
Hi there!
I am not sure what I am doung wrong and have read and re-read your information here, (very very informative and thank you for the major help) I do have a question that I am trying to figure out on my blog/diary section. at
http://velvetsteele.com/wp/?page_id=14 here you will see what it appears like at present but when you click the link in the title to the next at http://velvetsteele.com/wp/?p=144 that is how I wish for the page to appear on 14.I don’t seem to be ablt to locate the files to make those changes. Can you suggest or help please??
sincerely;
Jerry
Permalink # sandygabs said
My page.php doesn’t have a loop statement anywhere. There are elseif statements on the index.php of the theme I’m using including one .. I tried putting the code there to no avail. What am I missing? Here’s the sandbox I am testing it in: http://gabsplace.com/sandbox/
Permalink # StormNexxus said
I have tried everything and i still get two catagory posts in my page here is my page.php
What am i doing wrong???
heres what it looks like
http://www.stormnexxus.com/?page_id=44
Permalink # GrpSmglr said
move lines 45-49 to line 86…the plugin code must go after the endif/endwhile…
good luck
Permalink # StormNexxus said
Anyone have any idea whats going on with my page?
Permalink # sandygabs said
I’d really love some help with my question if anyone has the time – I’m trying to get this resolved ASAP (scroll up for details). Thanks!
Permalink # Jen said
Hi! Thanks for the great program. The only thing I need help with is that once I had copy and pasted my theme’s Main Index Theme codes in the section you provided so my posts would look like before, the sidebar wouldn’t show on the right side. It might be my code problem. Please help!!
These are my codes:
<a href="”>
Posted: | Author: | Filed under: <?php the_tags(' | Tags: ‘, ‘, ‘, ”); ?> | Modify: |
Not Found
Sorry, but you are looking for something that isn’t here.
Thank you!
Permalink # Jen said
http://www.proceedingwithgrace.com/?page_id=10
Thank you so much for helping!!!!!
Permalink # Jen said
Hi! Sorry, I’m back again! Well, here are the codes which I am struggling with because all the ones before were ok:
{/div}
{?php get_sidebar(); ?}
{?php get_footer(); ?}
Permalink # Jen said
Thanks! I resolved somehow! =)
I just think your program is marvelous!
Permalink # evelyn said
How do I put a thumbnail picture?
Permalink # CLOUD said
I don’t want to use an excerpt, since the text loses all its styling. At the same time I don’t want the whole content to show. So I used the following code:
<?php the_content( 'Read more »', $strip_teaser, $more_file ); ?>
(where I indicate the “more” break point within the post text).
It worked for my index page, but not for the posts sent to the category pages by this plugin. (I edited the plugin file with the same above code). The category page simply shows the entire contents of the post.
Have I done something wrong or does this plugin not support the “morelink”?
Thanks in advance.
Permalink # CLOUD said
FYI, I have solved my problem by adding the following at the start of the plugin’s customizable code.
I had also tried making a pageofposts template instead of using this plugin…. That did work for getting posts onto the category page, but for some reason I wasn’t yet able to uncover, my page title and content didn’t appear above the posts. Hence, I returned to this plugin and managed the fix.
I hope this can help anyone else encountering the same problem.
Permalink # CLOUD said
Oops, my code didn’t appear above. I did wrap it in the code command. Let me try again:
<?php
// Declare global $more (before the loop).global $more;
$more = 0;
// Set (inside the loop) to display content above the more tag.the_content("Read more »");?>
Permalink # dkips said
Hello, I use Artisteer theme and I see you emailed two persons about for the fix. I tried placing the code here and there but it always show 1-3 of same posts in the Page.
Could you please help me also. Thanks very much.
Permalink # dkips said
Ok, I did some changes, could you please check if everything is OK?
What I did was placed the code after the loop. Then move comments_template() from one line before the end loop to after the code. Is that good? I don’t want to break my site if I did something wrong. Thanks very much for checking.
Permalink # Fanis said
Hi Tim,
thanx for the plugin.
I wonder if there is a way the selected category posts not presented in the home page.
My best regards
Fanis
Permalink # David Garner said
Great plug-in. I don’t understand why this isn’t a standard option with WordPress.
My question: I’ve created a category page but I don’t want the Category Title to show up on the page, because my page title and category titles are the same. Is there a way to remove the category title from the page?
Thanks.
Permalink # Ricardo said
I’ve the same quesdtion… how can I see page title NOT category title as title TAG??
Permalink # DaffyOnLSD said
Hi there, after trying many times to get it working properly with no luck I’ve decided just to ask. I’ve placed the code in my pages.php file it brings ups the posts but it drags half of the site with it. Can you please tell me where to place the code.
<img src="/images/content-top.gif" alt="content top" class="content-wrap" />
<?php if($thumb '' && get_option('polished_page_thumbnails') == 'on') { ?>
''.__('Pages','Polished').': ', 'after' => '', 'next_or_number' => 'number')); ?>
thank you
Permalink # Kenan said
Thanks for this great plugin…its working fine with me.
Because I’m beginner in PHP must ask you how to hide: post date, by name, cat name, comments on/off,…things?
This stuff shows under my excerpts.
I appreciate your support.
Permalink # Rinkart said
locate this file—>
/wp-content/plugins/category-page-extender/category-page-extender.php and edit line 81.
Permalink # Kenan said
Hi everyone,
Any idea why “category pages” admin panel is not listing more than 20 categories? I have more than that…!
That’s the place where you connect host categories with pages.
Is says: Free categories (19/26)
but there is no NEXT button or something like that. 😦
Any idea how to fix that?
Thanks a lot!
Permalink # Kenan said
UPS! I get it!
Answer to my last question is:
Because there is no posts related to that category!
🙂
Permalink # Nathan said
The Category Page plugin is broken for WordPress 3.0 … connections between page and category are lost whenever you edit/update a page.
Any idea on a fix?
Cheers
Permalink # Marika, Totoro & Dollie said
Great plugin! Exactly what I’ve been looking for. 🙂
I managed to set my cat/page connection, making the posts show on my page. I’m struggling with getting rid of the excerpts though!
My page.php looks different and I don’t know where/how to change from excerpt to full post.
The template:
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_above_loop’]); ?>
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_inside_loop’]); ?>
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_below_loop’]); ?>
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_not_found’]); ?>
ID, 0);
} ?>
Permalink # Marika, Totoro & Dollie said
”
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_above_loop’]); ?>
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_inside_loop’]); ?>
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_below_loop’]); ?>
Style & edit the Center column */
bfa_center_content($bfa_ata[‘content_not_found’]); ?>
ID, 0);
} ?>
“
Permalink # alex said
hey guys 😉 i am using the genesis framework with the child-theme “platinum”.
i want to show all posts of a specific category on a page.
the archive of complete posts with images should appear right below the header content of the page.
i couldnt work it out till now 😦 where do i have to modify the code ??
thanks for any help in advance !
Permalink # alex said
thats the code :
Permalink # alex said
Permalink # alex said
wp_get_archives(‘type=monthly’); ?>
wp_get_archives(‘type=postbypost&limit=100’); ?>
Permalink # justin said
This plug in without a doubt is great. It works almost perfectly well with my site. The only thing that is stoping it from being completely perfect is that my “read more” tag which appears on my home page does not appear on my other pages. it instead shows the rest of the content that is found when you click on the tag when it appears on the home page. i would greatly appreciate any help.
Permalink # kim said
I am trying to get the content to show up vs. the excerpt and it is not working! changed it per your example… Any advive?
Permalink # Mark said
Hi, thanks for the plugin, Im having a problem with displaying the post with same style as the rest of the posts on the page, I wrapped the function in the tags as instructed but it still displays posts in a raw style. Help please…. Im using WordPress 3.0 with twentyten theme.
Permalink # John S said
Hi there. Thanks for this plugin and all your time supporting it! I’m curious if there is an issue with WP 3.1? I have the same issue on both the desktop and mobile (WPTouch Pro) themes I’m using, in that the I get a non-formatted excerpt list above a singly properly formatted post. I’ve read through all the comments above and tried the various suggestions but can’t seem to fix this “echo.” Any suggestions?
Permalink # John S said
I got it to work as I needed. I removed the original code for posts and everything is working exactly as needed!
Permalink # Mark Dust said
I tried wrapping the code as instructed, but it doesn’t look like it worked correctly when pasting it into the comments.
Permalink # Stacy said
Love the plugin, have used before, but this time I am getting duplicate and sometimes triplicate entries. The first two are excerpts and the next are full posts and then a duplicate of just ONE of the full posts. It’s really odd and I can’t seem to work it out. Any insight is appreciated.
Permalink # kath said
i’m having trouble setting this up correctly. The posts are going to the correct page now, which is brilliant, but i have extra code visible. What have i done wrong and how do i correct this?
Permalink # frenky said
drsdJX http://gdjI3b7VaWpU1m0dGpvjRrcu9Fk.com
Permalink # Jakub said
i have a problem, I have used yours plug-in, and i do have posts from the category on the created page, but there’s not only an excerpt from the post, but also full post underneath
Permalink # Scott said
http://maxpowerblog.ttrh.org/home/home/about-me/about-me/about-me <– why does this keep happening after I installed the plugin? there is not much documentation for this plugin, I cannot determine what I did wrong, but will be happy to post any of my PHP so maybe you can figure it out. Thank you.
Permalink # Scott said
err. sorry, didnt check on the URL function for wordpress.. so how do i set a page to display when the url is loaded? maybe i just need to go back to wordpress school lol
Permalink # anika039 said
I need to display all post according to category in a new page. Can you please tell me how to do this?
Permalink # Smxapngc said
I’ve got a part-time job robbs celeb oops 880954
Permalink # Ugmvltcg said
Other amount teen black girl porn =-(
Permalink # Wgdrnsuo said
I never went to university little nymphets
154
Permalink # MadBoy said
hey..why it doesnt show the pic of the post?
Permalink # MadBoy said
hey..why it doesnt show the pic of the post???
Permalink # Nick said
Can someone please tell me what the ‘tweaks’ are that need to be made in archive.php to get Category Page to work correctly? The plugin website and support forum are both down (gone?) Any help is GREATLY appreciated. thanks!
Permalink # Kkpwtslo said
Sorry, you must have the wrong number Incest Nymphet 866
Permalink # Hnvfolex said
Have you got any qualifications? Preteen Model Bbs >:-OOO
Permalink # Dknzeilt said
Have you got any experience? Pthc Hussyfan Blogs 13387
Permalink # Pdbxbxtm said
I’d like to apply for this job young lolite pr teen >:DD
Permalink # Tadeenhalloke said
[b]DDos атака/заказать DDos[/b]
– профессиональный сервис;
– гарантируем Вам анонимность;
– лучшее соотношение цены и качества на рынке DDoS услуг;
– индивидуальный подход;
– гибкая система скидок для постоянных клиентов и оптовых заказчиков;
– оснащены профессиональными приватными программами;
– беремся за проекты с анти-DDoS, за «тяжелые проекты»;
– можем работать на постоянной основе несколько url одновременно(в любой момент url можно поменять);
– предлагаем Вам качество проверено гарантом;
– делаем тест;
Досконально изучаем все тонкости Вашего заказа!
Ценовая политика:
от 1$ час
(индивидуальный подход к оптовым клиентам)
[b]Связь/Support:
mail4900@rambler.ru[/b]
ddos услуги, ddo wiki, ddos livejournal, скачать web ddos attacker, защита +от ddos, ddos service, ddos сервис, +как устроить ddos атаку, armageddon ddos, ddos форум, ddos samp, ddos википедия, ddos samp 0.3 c серверов, linux ddos, ddos lineage, скачать ddos server, armageddon ddos, www ddo com, darkness ddos bot, ipfw ddos
Permalink # Pakistani Dranas said
i want the categories to be posted after my posts..how to do it.
Permalink # Rama said
I am using wordpres 3.3
I want post in pages by categories.
exp: If I have cat id 1, all post of cat 1, I want in About page.
cat id 2 , all post of cat 2, I want disply in service page, with pagination. I placed your code in page.php.
no result, empty page is coming.
Please can any one Help me
Permalink # mwgerardeaghan said
Hello —
I have category page and extender up and running. Thanks for that.
Is there anyway to have a thumbnail of an image associated with each post appear?
Thanks.
Permalink # Fernando said
Can anybody tell me please how to do the “tweak” in archive.php to get work the plugin Category page? the plugin website is down and no more documentation about that, thanks a lot!!!
Permalink # Ewtuxxwg said
I’ve only just arrived http://irokoipedof.blog.free.fr/ nude kid bbs board Sandrinho: Du denkst doch hoffentlich nicht eine Sekunde im Ernst, dass die Postings tatsächlich von Frauen sind? Huahuahua .. ich schmeiàmich weg vor lachen! Du glaubst wohl sicher ach noch an den Weihnachtsmann, den Osterhasen und den Klapperstorch …
Permalink # Ebqbrqob said
Your cash is being counted http://unafedejiho.blog.free.fr/ teen magazine model I wouldn’t like that sort of fuck… just seems the the guy on the other end of the donkey dick is an insensitive prick… vagina’s aren’t that long, buddy boy!
Permalink # Cfhdfvmp said
Could I take your name and number, please? http://rahiraaiyj.de.tl illegal nymphet sex Good Lord, what an annoying voice she has. She should be the one with that thing in her mouth.
Permalink # Wgwtqeps said
good material thanks http://diaqyutie.de.tl taiwan sex bbs Bree Olson, what was i to do. I waited. You never shown. What would you have done? At least love would have asked! We can still have dinner!
Permalink # Qmnpegcb said
Would you like to leave a message? http://ycifajacy.de.tl videos little nymphets In fact some researches are trying to wake up some people in coma state trying to forcing then to have an orgasm!!!
Permalink # reddit porn said
Hi there! I could have sworn I’ve visited your blog before but after going through many of the articles I realized it’s new to me.
Nonetheless, I’m definitely pleased I found it and I’ll
be book-marking it and checking back frequently!
Permalink # learn how to draw cartoons step by step said
This paragraph will assist the internet viewers for building up new web
site or even a blog from start to end.
Permalink # Иван said
Продвижение сайта своими руками – это просто. Узнай как продвинуть сайт своими руками на сайте: novoeseo.ru/prodvizhenie_sayta_svoimi_rukami
Permalink # home printing wedding invitations said
Very good info. Lucky me I discovered your blog by
accident (stumbleupon). I have book marked it for later!
Permalink # Tomoko said
Cool blog! Is your theme custom made or did you download it from somewhere?
A design like yours with a few simple adjustements would really make my blog
jump out. Please let me know where you got your theme.
Cheers
Permalink # Link Building Service said
I was recommended this website by way of my cousin. I’m not positive whether this publish is written by way of him as no one else recognize such targeted about my trouble. You’re wonderful!
Thanks!
Permalink # goat knocks over reporter said
Oh my goodness! Impressive article dude! Thanks, However I am encountering problems with your RSS.
I don’t understand the reason why I am unable to join it. Is there anybody else having identical RSS problems? Anyone who knows the solution can you kindly respond? Thanks!!
Permalink # Preston said
Article writing is also a excitement, if you be familiar with afterward
you can write otherwise it is complicated to write.
Permalink # http://Www.Wowio.com/users/ReaderProfile.asp?nUserId=679782 said
I read this article completely concerning the difference of newest and preceding technologies, it’s amazing article.
Permalink # WeightLossTeaSecrets.com said
Thanks for your marvelous posting! I definitely enjoyed reading it, you can be a great author.
I will always bookmark your blog and may come back in the future.
I want to encourage continue your great job, have a
nice morning!
Permalink # payday pickup or my said
So you have to balance speed with value to
a certain extent. ll get quick approval and the amount gets directly credited in your account within 24 hours.
Payday loans are also known as cash advances but
it will be termed as cash advances only when one will get the cash against any pre-arranged line of borrowing money, like credit cards.
Permalink # roybj3 said
My contemporary pron blog
http://retrosex.erolove.in/?exclusive_taliyah
erotic movies list erotic romance movies french erotic adult stories
Permalink # Free Nude Show, Free Live XXX Cam, Free Anal Sex Show, Free Nude Sex Cam said
Hi, Instantly access totally free nude hardcore sex cam http://adf.ly/c8JpY
Permalink # Je veux des poules ! said
Pretty nice post. I just stumbled uplon your blog and wanted to say that I have rally
enjoyed surfing around yyour blog posts. In any case I’ll be subscribing too your feed and I hope
youu write again very soon!
Permalink # Johnf695 said
hello!,I like your writing so much! share we keep up a correspondence extra about your article on AOL? I require an expert on this space to resolve my problem. May be that is you! Looking ahead to look you. dfebcdaddeee
Permalink # Johnb888 said
Do you have a spam problem on this site I also am akefkfcegage
Permalink # Johnd605 said
hello!,I like your writing so much! share we keep up a correspondence extra about your article on AOL? I require an expert on this space to resolve my problem. May be that is you! Looking ahead to look you. ekgedacdebkd
Permalink # Johnf265 said
Your goal is to breed all the different dragons available bkaaddkbfbdd
Permalink # Johng492 said
whoah this blog is excellent i really like reading your articles. Stay up the good work! You already know, many persons are looking around for this info, you could help them greatly. bgagddgadgab
Permalink # Johna649 said
What’s Happening i’m new to this, I stumbled upon this I have discovered It positively helpful and it has aided me out loads. I hope to contribute & help other users like its helped me. Good job. dbdkgefdedeb
Permalink # Johna450 said
You have brought up a very good details , thankyou for the post. deddgcecbdfk
Permalink # usda loans said
That is a great tip particularly to those fresh to the blogosphere.
Brief but very accurate information… Thank you for
sharing this one. A must read article!
Permalink # sleep shirts for men said
I do not know whether it’s just me or if perhaps everybody else experiencing problems
with your website. It appears as though some of the text in your content are running off the screen. Can someone else please comment and let me know if this is happening to them too?
This could be a problem with my browser because
I’ve had this happen before. Thanks
Permalink # J said
I have tried placing the code in many different locations in my page.php file and nothing displays on my page. I have updated the plug-in code to match my theme as well. I seem to be doing something wrong.http://anmnews.com/mississippipep/
Permalink # Starelse said
i want the categories to be posted after my posts..how to do it. http://starelse.com/
Permalink # KennethOmide said
удостоверения личности – криминальные новости, корупция
Permalink # kelsie said
My name is Kelsie. And I am a professional academic writer with many years of experience in writing.
My interest is to solve problems related to writing. And I have been doing it for many years. I have been with several groups as a volunteer and have assisted people in many ways.
My love for writing has no end. It is like the air we breathe, something I cherish with all my being. I am a full-time writer who started at an early age.
I’m happy that I`ve already sold several copies of my works in different countries like England and others too numerous to mention.
I also work in an organization that provides assistance to many students from different parts of the world. Clients always come to me because I work no matter how complex their projects are. I help them to save money, because I feel happy when people come to me for professional help.
Academic Writer – Kelsie Davenport – supportthedandelionschool.com Corp
Permalink # EdwardNab said
гидра шоп – гидра магазин зеркало, hydra зайти без тора