Articles of homepage

Multiple posts/pages in one page?

I’m trying to create website with index page which will have 2+ different boxs with different content generated from post or pages in WP administration. This page will be looks like this wireframe. I’m using the TwentyFourteen template and I edit index.php in templates folder. What I tried: Multiple pages on one with different HTML […]

I don't want the complete article to show on homepage

When I post articles the complete article shows in the home page. I just want it to show Intro and then read more. I did not create the site myself and just taking on the role of admin of the page.

Inserting an example of the last 3 post on to the homepage

Hi everyone I am new of here, and I was looking for this answer for a while, but I guess that I am not finding the right way to google the question. I do not know PHP, but I know quite well html and css, and I am personalising a wordpress to put on the […]

Change website directory safely to add a static page on startup

I have a blog http://aamirshahzad.net I want to have a static HTML page on start-up before user may see the blog. For that I am planing to move my whole site to http://aamirshahzad.net/web/ and want to upload the static html landing page on root. Whats the easiest way to achieve that? any plugin etc to […]

How do I change the home page to the registered user's profile page

I have a custom profile page for my users. I need to have wordpress redirect the homepage to the user’s profile page if they are logged in. If they are not logged in or registered, wordpress would show the normal home page. My homepage url string would look like this for logged in users: http://my_site.com/user/some_user […]

Change homepage content if user is logged in – BuddyPress

I’m creating a Social Network using BuddyPress, a good theme for BuddyPress itself and some plugins included with the theme that help me so much in this thing. I’m trying to do one thing: when the user goes to website.com, he’ll se the website informations, so like “subscribe, this is a good place” etc. But […]

Pagination Not working on Home Page with 2 Query

I have two loops in home page (index.php) <?php $args = array( ‘post_type’ => ‘post’, ‘posts_per_page’ => 3, ); $another_query = new WP_Query($args); if( $another_query->have_posts() ) { $i = 0; while ($another_query->have_posts()) : $another_query->the_post(); ?> <?php if($i == 0) { ?> <div class=”col s8″> <?php get_template_part( ‘template-parts/content-magazine-grid-big’, get_post_format() ); ?> </div> <?php } ?> <?php […]

How can I get $pagenow equals to the Home Page or specific page on my site?

I’m new to WP and search for some examples on $pagenow codes. Everything I saw equals to .php files. How can I make an if statement that $pagenow is equal to my Home Page or specific page?

Display post formats differently on index.php (loop in function)

I’m new to WordPress and I’m hoping to display post formats differently on the home page; sort of like this image: The problem is that the theme I’m using is very different than other themes I’ve seen, the loop is in a function. In my index.php, I have <?php if(have_posts()) : while(have_posts()) : the_post(); echo […]

Problem with older entries in homepage

When I click on “older entries” in my home page, it goes to a second link but it shows the same posts. I think I need to modify something in the index.php, this is the full code section that I think I need to modify: <div class=”container”> <div class=”post_content”> <div class=”home_posts”> <?php $args2 = array( […]