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 ...
4
votes
3answers
813 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 ...
2
votes
2answers
793 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 ...
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
2answers
773 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 ...
2
votes
1answer
123 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 ...
1
vote
3answers
3k views

Display page content AFTER a loop of posts

This is probably easy once you know but I'm having trouble getting the static page content to appear AFTER a list of posts. I'm using a named page template which displays posts as a slider and I want ...
1
vote
1answer
31 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 ...
1
vote
1answer
127 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__ )); ...
1
vote
1answer
162 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 ...
1
vote
2answers
410 views

Placing post data (title, date, and excerpt) nested in static content

I apologize if this is a newbie question, but I am very new to working with WP template files. I am working on a campaign site (that I unfortunately can't show you before the launch in a couple ...
1
vote
2answers
252 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 ...
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
338 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 ...
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
1answer
494 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
vote
1answer
330 views

How to implement pagination in backward way eg. first - 20 - 19 - 18 - … - 3 - 2 - 1 - last

How can I implement pagination in backward style, like shown in the title. (newest) first - 20 - 19 - 18 - ... - 3 - 2 - 1 - last (oldest) I have search plugin, there are not yet plugin for this. ...
1
vote
1answer
342 views

How to Call a static page in WordPress

Hi I created a template within my theme files, just for displaying a map in a lightbox. I need to call this template page from a normal wordpress post, how can I do it? Say in my theme files I have ...
1
vote
2answers
1k views

Static files or dynamic WP pages for “static content”?

Ok = I've looked around a lot for a clear answer to this, but find very few real answers. I would really appreciate some info from experienced individuals. A tiny bit of background. I've worked ...
1
vote
2answers
286 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 ...
1
vote
0answers
92 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 ...
1
vote
2answers
113 views

For homepage images (for small business website), is it better to use custom fields or post_thumbnail?

Already searched on here and couldn't find question so forgive me if it's been asked. I'm trying to use dynamic images on a homepage so my client can maintain the images. I've seen tutorials where one ...
1
vote
1answer
236 views

Migrating static site to multisite with multiple domains and subdomains

ok, here's an overview as this is a bit of a tall order:) i need to migrate our entire site into wp. right now we're just using wp for a blog page (installed in subfolder w/ subdomain), and all other ...
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
3answers
49 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 ...
0
votes
2answers
712 views

Static Front-Page Excerpts

Working on a new site, I'm trying to plant recent post excerpts on a static front-page. I had been doing all my static content outside of wordpress (as static files), but was convinced to pull ...
0
votes
2answers
38 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
3answers
49 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
1answer
83 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
2answers
206 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 ...
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 ...
0
votes
1answer
54 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
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
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
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
115 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 ...
0
votes
1answer
133 views

Auto Changing Text Case

So I'm using all static pages and I specify that in my WP settings. When I specify what the 'Front Page' should be it turns my link in to Title Case instead of all Capital Letters like I would prefer. ...
0
votes
2answers
96 views

Pages that don't look like blog posts?

I 've been scouting around for answers on creating static pages (that means NO BLOG POSTS of any kind) on pages where you don't want ANYTHING that looks blog related, (posts, leave a comment, date ...
0
votes
1answer
318 views

Any Good Wordpress Client Like Live Writer To Create Static Pages

I want to publish static pages on Wordpress quickly. Live Writer is a very good client for formatting and publishing blog posts. But I couldn't find a way to use it for publishing static pages. Is ...
0
votes
0answers
16 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 ...
0
votes
0answers
31 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
137 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 ...
0
votes
1answer
211 views

NoIndex Yoast Wordpress Seo not working on Posts page

I've got a static homepage and a single empty page called Blog. This empty page is chosen in the Reading Settings for the option Posts Page. To avoid duplicate content I set the 'noindex,dofollow' ...
0
votes
1answer
131 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
43 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
55 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 ...
0
votes
0answers
95 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
31 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, ...