NiceThemesIs it posible to show text on Homepage, – NiceThemes http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/feed/ Wed, 23 Apr 2025 15:27:49 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5181 <![CDATA[Is it posible to show text on Homepage,]]> http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5181 Mon, 19 Jan 2015 17:17:19 +0000 wrafico Hello, I read a topic called “Text not showing on Homepage” on which you said the teplate does not support it, but I really really need a field text to place HTML inside. It’s a must. Have you added that feature in the updates?

I have managed to paste it in the welcome message, but is kind of messy to work like that. Any advice?

Thank you!

]]>
http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5187 <![CDATA[Reply To: Is it posible to show text on Homepage,]]> http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5187 Tue, 20 Jan 2015 15:15:56 +0000 Juanfra Aldasoro Hi There,

Thanks for writing and hoping that you are doing well today.

Actually, there’s an input named “Welcome Message” within the theme options in which you can input some text. When it comes to HTML text, what you can try is editing the file template-home.php and add the_content(); function in order to display what you put in the page description.

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5194 <![CDATA[Reply To: Is it posible to show text on Homepage,]]> http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5194 Wed, 21 Jan 2015 16:39:55 +0000 wrafico Thank you!. I’ve tried no success.

You mean that using this code as it is “the_content()” wil pull out the text? Or do i need more code.

Also, If I’m using a child theme do I need to create this in a new template-home file and added to childs foder, right?

]]>
http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5201 <![CDATA[Reply To: Is it posible to show text on Homepage,]]> http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5201 Wed, 21 Jan 2015 22:04:46 +0000 Juanfra Aldasoro Hi there,

No problem 🙂

Actually if you’re running the latest version of netelier you can add a filter in order to display the home content. What you need to do is add the following code into your functions.php


add_filter( 'nice_home_content', '__return_true' );

the_content() always display the content of the page if it’s in the loop context. If it’s not displaying anything the reasons might be:

1- You don’t have any content for that page.
2 – The function call is not in the loop content.

What I mean by having it in the loop content is having something like:

 if ( have_posts() ) :

    while ( have_posts() ) : the_post(); 
		the_content();
    endwhile; 

endif;

If you are using a child theme, then you should do all the modifications there.

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5202 <![CDATA[Reply To: Is it posible to show text on Homepage,]]> http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5202 Thu, 22 Jan 2015 00:29:19 +0000 wrafico Thank you for taking so much time!! It works perfect. Cheers.

]]>
http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5203 <![CDATA[Reply To: Is it posible to show text on Homepage,]]> http://nicethemeswp.com/forums/topic/is-it-posible-to-show-text-on-homepage/#post-5203 Thu, 22 Jan 2015 00:39:35 +0000 Juanfra Aldasoro No problem 🙂 My pleasure.

Have a nice day,
Juan.

]]>