Jump to content
Sign in to follow this  
hughes1974

Categories Title does not show up on page.

Recommended Posts

Sourena    2
Sourena
This might help you: http://www.pagecolumn.com/

alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites
Rob    547
Rob
You could create a page for the category and check the box in the Dashboard > PlatformPro > Blog and Posts to "Automatically show Page titles"

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
hughes1974    0
hughes1974
That would be great, but how would i load the posts for that category on that page?

Share this post


Link to post
Share on other sites
Rob    547
Rob
There are plugins like Special Recent Posts or others that will list posts in a variety of ways. I use Multi Column Taxonomy List. Here's an example: http://www.epicurus.com/food/recipes/categories/by-ingredient-type

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
hughes1974    0
hughes1974
Thank you all for your help, but I am not sure if I am explaining in right. I have a category page with all my posts that fall under that category loading on it, just like a blog. But I want the page to have the title of the category that i choose to load on top. Here is the page. I would like to have the title Callas load at the top, which is the category name that all the post are under. http://goldenstatebulb.schipperdesign.com/category/flower-family/callas/

Share this post


Link to post
Share on other sites
kastelic    6
kastelic
Hi, you can paste this in platformbase/functions.php assuming you have Base activated: [code] //ADD CATEGORY TITLE AT TOP OF CAT PAGES add_action('pagelines_before_maincontent','cat_title'); function cat_title(){ if ( is_category() ) { ?>

Category:

Share this post


Link to post
Share on other sites
hughes1974    0
hughes1974
Kastelic, you are the man... Thank you for all your help... I change it a little: //ADD CATEGORY TITLE AT TOP OF CAT PAGES add_action('pagelines_inside_top_theloop','cat_title'); function cat_title(){ if ( is_category() ) { ?>

Share this post


Link to post
Share on other sites
alisamski+    8
alisamski
works in platform pro... cannot get this to work in Framework

Share this post


Link to post
Share on other sites
Simon    247
Simon
Pagelines Frameworks uses different hooks: http://api.pagelines.com/hooks

Share this post


Link to post
Share on other sites
alisamski+    8
alisamski
Can you please advise what needs to change? Or more specific this is what I've tried. I have a question out [url="http://www.pagelines.com/forum/discussion/18502/#Item_6"]here.[/url]

Share this post


Link to post
Share on other sites
Simon    247
Simon
'pagelines_inside_top_postloop'

Share this post


Link to post
Share on other sites
alisamski+    8
alisamski
Fab! Thank you Simon.... posting complete code for functions.php in Frameworks [code]//ADD CATEGORY TITLE AT TOP OF CAT PAGES add_action('pagelines_inside_top_postloop','cat_title'); function cat_title(){ if ( is_category() ) { ?>

Share this post


Link to post
Share on other sites
vburnham    0
vburnham

Can you tell me where exactly I would put this code in my functions.php. Everytime I do I get an error and my site breaks. Thanks!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

All hooks go must go into either your child theme or customise plugins functions.php file. If you edit the core functions.php file, you will cause numerous errors on your site. All this information is provided on our customisation documentation.

 

http://support.pagelines.me/docs/customization/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
vburnham    0
vburnham

I'm sorry I'm probably driving you crazy but I added the Customize plugin and found the functions.php but I'm still unsure as the exact location I need to place the code and if I replace any code in there with anything. Thanks

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi vburnham, 

 

I'm not sure that you want to have individual attention to this issue, but you've asked your question in a topic for another, now outdated product.

 

Please open a new topic under the correct product so that we may provide you with the best, most up-to-date solutions.  Many of the solutions proposed here won't work in PageLines Framework, and still others exist in the Framework that don't work in PlatformPro.

 

I'm sure you understand.  Thanks.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×