The tag has no wiki summary.

learn more… | top users | synonyms

14
votes
2answers
6k views

When to use is_home() vs is_front_page()?

I've found that is_front_page appears to return true when I'm viewing the home page and have a single sticky post assigned there. It also returns true when I've assigned a page as the static front ...
0
votes
1answer
1k views

How can I use “getarchives_where” to get monthly archives for static pages?

I would like to get monthly archives for static pages. I tried to use the next code: add_filter('getarchives_where','my_archives_filter'); function my_archives_filter($where_clause) { return "WHERE ...
1
vote
0answers
36 views

Why does `url_to_postid` return 0 when testing `page_for_posts` Page?

If I set Reading Settings > Posts Page (in other words, the page_for_posts option) to a static page, and then attempt to pass its URL through url_to_postid() it will return 0 - why is it? I ...
1
vote
1answer
35 views

How to archive a wordpress site (make it read only)

Is it possible to make a WordPress deployment read-only? For a website that won't be updated, I'd like to make it read-only/static, so the archive is there but nobody can post, so I don't have to deal ...
0
votes
2answers
39 views

Add a static page that links to homepage

My home page is a dynamic page and on my navbar I have different static pages I want to add one to link to the homepage as if I clicked the logo.
0
votes
1answer
66 views

Static pages not working

I have been successfully using a static front page on a theme I am building (locally so can't share URL) without any issues. Suddenly it has stopped working and I can't work out why. I now see a blank ...
0
votes
0answers
43 views

Load new Posts on Scroll on Page

See this reference site: http://alwaysjudging.com/archive/ It's loading new posts on scroll down, similar to Infinte Scroll plugin. (But I'm unable to get the Jetpack Infinite Scroll plugin to work on ...
0
votes
1answer
188 views

Linking Javascript in functions.php file

Below is my raw javascript embeds from my html template. But I cannnot figure out exactly how to add it to my functions.php file. It seems pretty difficult. Can you please assist with the correct ...
1
vote
3answers
3k views

Recent posts on a static home page

I want a static home page on my wordpress website, I have already set this up and have a bit of content on it, the next step is I want to have 5 recent posts underneath the content. As a normal page ...
1
vote
2answers
318 views

wordpress Static Page pagination

Im Using a post query in wordpress BUT the Pagination is not working, i don't know whats the problem BUT here is my code and i guess it's correct and no problem with it it shows that there is pages ...
0
votes
3answers
50 views

Is there a way to create a template that does not have the site styling associated with it?

I recently completed a WP site for a client and they would like to be able have some static pages added to the site that do not have the header, footer and navigation on it. These pages would then be ...
1
vote
0answers
105 views

Static raw HTML page

On the server there is a static HTML page example.html in my root folder of the WordPress install. Now when a user types www.example.com/example.html I want WordPress to be smart and bypass all normal ...
2
votes
1answer
128 views

Publish pages/posts as HTML?

We're looking to use a plugin or custom setup for authors to create pages or posts and publish them as single HTML files. The file could be saved on the server in a specific directory or have a ...
0
votes
1answer
162 views

Edit raw HTML of the landing page

I just created and set up a landing page for my blog. I use Weaver theme. I checked every checkbox to remove all the stuff I don't want ( Hide Page Title, Hide Site Title/Description, Hide ...
0
votes
0answers
45 views

“Static” pages within a theme

What I want to achieve is to add vCards to my contact pages, created on the fly and downloadable. I guess I could make a very bare template with the functionality and the correct mime-settings to the ...
0
votes
1answer
61 views

Switched from query_posts to wp_query, pagination no longer working

Switching a loop on a static front page from query_posts to wp_query. All is working other than the pagination link (which used to work). Example can be seen live here in "work" section. Here is my ...
4
votes
3answers
829 views

Natural URL Design and static front page

A static front page and other pages which are children of it are used on a blog. To give an example: www.example.com The slug for that page shows up in the permalink for sub pages like ...
0
votes
3answers
51 views

Trying to uninstall a theme, but it's hijacking my home page

I'm trying to install Thesis on my blog, and I'm having an issue that's caused by the theme that's currently active, which is Structure by Okay Themes. This theme created a static home page when I ...
0
votes
0answers
97 views

Using pre_get_posts to filter by custom fields while using static front page

I'm trying to filter a custom post type loop by several custom fields using pre_get_posts. Category pages display just fine. I'm having trouble with the static front page which for some reason ...
0
votes
1answer
35 views

How do I make just one of my pages a Blog Page?

I'm a newbie, so please excuse me. Notice the "static" nature of my site http://grandeduny.org/. The pages of this site are "wordpress static" by design, but I would like to have one Blog page, how ...
0
votes
1answer
33 views

Is each issue of a magazine site a static page

I want to create a monthly magazine style website. I can see the url for a month is something like this: www.magazine.com/mywebpage/2013/08 Suppose I want to create a custom page for each month, ...
0
votes
2answers
201 views

Set static page as default front page on newly created sites in multisite

How to set a Static page (example Sample Page with every WordPress install) as default fron page for every newly created site on multisite network. I mean when a new user creates a site on my ...
1
vote
1answer
153 views

Cron jobs in a class

Having: pluginname.php // If this file is called directly, abort. if ( ! defined( 'ABSPATH' ) ) { die(); } define('PLUGINNAME_PLUGIN_URL', plugin_dir_url( __FILE__ )); ...
0
votes
1answer
17 views

Get rid of “comment” field on non-blog pages [duplicate]

How can I get rid of "comment" field at bottom of page I want to use as a static page or pages on site such as "About" ; "Contact" , etc.
0
votes
1answer
93 views

Static homepage duplicate issue

I already made a post on official wordpress forum,but hava no replay to my question. Also made a search in the forum here and in Google as well but couldn't find solution for my problem. I'm using CMS ...
0
votes
0answers
96 views

Static front page displaying twice

I am using a free SM theme (estate agent) on my WordPress site. The theme allows for setting a static front page, which I did (the page is called 'events', and when I set it as home page its ...
0
votes
2answers
1k views

Static page homepage not showing the_content

I must be doing something wrong here. I setup my site with a static front page using front-page.php. I created a page in the admin with a title and chose the front-page.php in the template dropdown. ...
0
votes
1answer
72 views

Using static pages on Wordpress site

I built a few static pages in HTML while I was practicing some techniques. I would like to include those pages (and that hard work) in a word press site. I have already created the WP page that hold ...
0
votes
2answers
2k views

Wordpress Query Posts From Category Post on Static Page

So I'm trying to query some posts from 1 category only and it does seem to be working. I tried get_post() also but no luck and after awhile I just caved and used query_posts (which is apparently bad ...
1
vote
1answer
171 views

Custom static page get_header error

I have a pretty simple question. I want to make a static about page for my wordpress site. I don't like the format of the wordpress static pages that are managed through the control panel so I thought ...
0
votes
3answers
106 views

How do make Wordpress to let alone my static home page?

I want to install wordpress in the root of an existing site, and temporarily use my new installation home as /home, while the rest of the static site is still there find-able by visitors/google. I ...
1
vote
1answer
506 views

Point static content like css and js to cookieless subdomain

How can I change the links that WordPress generates for all static content like css, js, png, jpg, gif, etc to a cookieless subdomain? I don't want to use mod_rewrite. I want the PHP code to replace ...
-1
votes
1answer
90 views

How to display text of a page in home or custom page?

I have "About us" content in a single static wp page and want to show a part of it in the front page with a read more... link. I want to make index.php like this: -Navigation- -About Us - -Some ...
1
vote
2answers
383 views

Creating “static” taxonomies to choose from, inside custom post type?

Alright, so i have a custom post type called Blurbs (translated, sort of). I want to add a static set of categories for the posts within Blurbs (i don't want the user to be able to create custom ...
2
votes
2answers
801 views

WP Multisite Static Frontpage

I created a multisite and my question is as followed: Im trying to display a default static page for each new site. So when they create a new site, they automatically get a default page I made. This ...
-1
votes
1answer
89 views

Multiple Domains Same Install Different Static Pages

I have my main domain domain.co.nz with a static homepage of home but I also have a url that is great for SEO purposes and what I am trying to do is work out how I can have my seoDomain.co.nz point to ...
0
votes
1answer
73 views

How do I fix my static page

I have tried a few option with static pages. First i created a template called homepage.php and had it designed a certain way, and also on that template were the post. Then i created another template ...
0
votes
1answer
510 views

How to remove title (home) from static page skeleton template

I am trying to remove the page title (home) from my index page. I made my home page my static page. I am using the skeleton theme https://github.com/simplethemes/skeleton_wp I'm new to wordpress so ...
-1
votes
1answer
135 views

Static front page as parent of with child pages?

I am trying to produce a static front page that has child pages, so that the menu looks like the following: About (static front page, parent page of "CV" and "Address") -CV (child of "About") ...
0
votes
1answer
118 views

Noob Question - Buddypress Dynamic content on static page

Sorry for posting such a noob question but I am totally stuck and don't know what I am looking for. So basically I have a buddypress website with a static homepage. On the homepage I need to add a ...
0
votes
2answers
64 views

How can I create a basic PHP that can lives outside WP?

I am trying to do an email subscriber form and I would like to implement my own solution. I do not want to spend hours trying to figure out which Plugins is the best. Spending more times to install it ...
2
votes
2answers
140 views

What's the easiest way to periodically (automatically) read static Markdown content into a WP page?

I'd like to sync my theme's README.markdown into a page on my site and would love to be able to only have to update that text a single time -- namely, when I commit my code up to BitBucket. I have my ...
-2
votes
1answer
135 views

How can I stop WordPress from catching URL's for static pages that I save on my server

I posted a question about whether it's possible to add a Page in WordPress without headers and footers. Here's that question: Add a Page without header and menus? So how can I create a static page ...
0
votes
1answer
253 views

trying to add custom landing page to Twenty Eleven- can't get rid of Twenty Eleven header/container? [duplicate]

Possible Duplicate: custom, static home page / landing page with Twenty Eleven theme? Live site. I'm trying to have a custom, static landing page added to the Twenty Eleven theme. So far, ...
0
votes
1answer
114 views

blog page showing as home/landing page despite template change and reading settings

Live site. I'm having trouble pinpointing exactly why the Blog page is showing up as the Home/landing page. I've changed the page template to General/page.php and have WP reading settings set to ...
-3
votes
1answer
632 views

Static posts page is not working

I've found other questions asking the same thing but I think I followed the method correctly. I created a page called "Splash" (page-splash.php) and another empty page called "Blog" But when I ...
2
votes
2answers
827 views

Add .html extension to only one page in my Wordpress site

We had an old site that had html pages in it. One of the pages in that site was linked to from many other sites. Now we moved to a WordPress site, and we created a page with that name, but of course ...
1
vote
1answer
1k views

Static front page with recent posts pagination

Is it possible to include index pagination on a static front page? I have a child theme of twenty eleven and I am attempting to have a home page where there is a slider for sticky posts followed by ...
1
vote
2answers
294 views

How do I maintain static directories on multisite subdomains?

I'm trying to migrate from multiple subdomain blogs to WP multisite. The one stumbling block is that I'm pretty sure the static files and directories on my subdomains will not be found; each of my ...
0
votes
2answers
208 views

Create page template with some static contents

I am new to wordpress. I searched page vs post and found that pages are mostly static contents (in the sense that they dont need to be changed and stays in its place for ever). My question is my ...