• Resolved karlc

    (@karlc)


    Hi, I am still unable to get the a page of text to appear on the landing page underneath slider or anywhere. I have tried as suggested the setting/reading, static page.

    I have worked out how to move the position of the slider, blog, porfoilio etc but not text insert. Would I need to add code to page.php

    Tried three other forums, no help…. desperate now

    Thankyou

    http://www.cloudchasing.co.uk

Viewing 5 replies - 1 through 5 (of 5 total)
  • I used the css property display: none; to hide the admin/date/comments part of the single blog post like you have on your site. However, I’ve now hit the issue where there is a limit set somewhere limiting the number of words.. I’m yet to find it.

    I have opened a support topic asking both where the limit is and if a static text option can be added.

    .enigma_blog_read_btn { display: none; }
    .enigma_blog_thumb_footer { display: none; }

    @karlc: Home page of the theme has its unique design pattern , So not possible to change the design structure .

    @ben Nichols : your answer is given in particular thread.

    Thanks

    @karlc: I have found one method of doing this. The way I did it was by creating a widget area. Follow the instructions outlined in this post:

    http://wpgyan.com/how-to-create-a-widget-area-in-wordpress-theme/

    I took the second part of the code,
    `<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘header_sidebar’) ) :
    endif; ?>`

    and placed it under all the code in header.php. Then I simply added a text widget into this new widget, which allowed me to add text(or anything you want, really) However, I have only figured out how to add this to the header. Ideally, for me and probably for you as well you don’t want text above the slider, but I have not figured out how to place this widget anywhere else. I tried adding this code into front-page.php but it broke the whole page, so don’t do that. This might not be the best way to do it, but it seems to work. Maybe you or someone else can figure out how to place this widget somewhere else on the page. If so, I would love to know how to do that! Hope this helps.

    Ok! After playing around with things some more, I found a way to add pages to the front page. Simply use this code:

    get_template_part('post','page');

    And place it into front-page.php where you would like this page to be displayed(for example under get_template_part('home','blog'); if you want to display a page under the blog posts. Then you can go into reading – choose static page choose a page of your choice. Then the content on that page should be displayed where you placed your code.

    My earlier idea is not practical because this will place a widget on every single page, not just the front page as it is attached to the header.

    @mooo1 : You must do all customization with child-theme only.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Home page text’ is closed to new replies.