Jump to content
Sign in to follow this  
reggiebomb33

Add image and text to posts page

Recommended Posts

reggiebomb33

I would like to add an image and intro text on my posts page above the first blog post. How do I do that? I see that I can add a feature, but that's not necessary. I just want a standard image and intro text. The page is http://www.nicolestango.com/blog/

Share this post


Link to post
Share on other sites
reggiebomb33
And apologies - I'm using PlatformPro.

Share this post


Link to post
Share on other sites
catrina
You can use a hook to implement the image + text. If you're not familiar with hooks, please see here: www.pagelines.com/docs/base-child-theme. A hook can be implemented to include the code for the image and text (it will also position the two elements in the place where you want them). Also, you will need to make sure that you have PlatformBase installed and activated.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
reggiebomb33
Thanks catrina. Before I begin, I just want to say that although this is the first time you're directly helping me, you've helped me build my site. Your answers to others in the forums have been extremely helpful to me. I'm not at all familiar with hooks. Any idea what that code would look like? Could you possibly give me an example?

Share this post


Link to post
Share on other sites
catrina
Yes, there's a great example in this topic: http://www.pagelines.com/forum/discussion/12248/replace-search-bar-in-header-with-an-image/p1. I helped someone use a hook to add an image in place of a search bar in their header and I go over the steps one by one in detail. The task is different, but the general direction is the same. Overall, what needs to be done is the following: 1) which hook to use and 2) what code to put inside the hook (this will be the code that generates the image and text). The hook exists to position the image and text where you want. The image + text code is easy, however. It should be something like this (this doesn't include the hook (which is supposed to surround the code). The hook is what we need to create): [code]
Text text text text text[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
reggiebomb33
Sorry - this is way over my heard. I'm going to have to sit down and learn hooks.

Share this post


Link to post
Share on other sites
reggiebomb33
I opened the functions.php file for platform base. What would the hook be to add?

Share this post


Link to post
Share on other sites
Danny
Couldn't you simply use the Highlight template for your posts page, if you have it setup as a static page ?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
reggiebomb33
It's not a static page though. It's my blog page, where new posts will be added weekly.

Share this post


Link to post
Share on other sites
reggiebomb33
Just to tie this off - because of my extremely limited knowledge of coding, I created a workaround for this problem. On the Posts Page template setup, there is an option to include a "feature." So I created a one slide feature with an image and text below it. Obviously not ideal because the text is now in an image, but it works and looks nice.

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  

×