1
vote
2answers
31 views

Where can I access my custom page template?

I understand that to create a new page template, all I have to do is create my custom template (in this case, page-custom.php) file, and save it in wp-content/themes/mytheme/. However, where can I ...
0
votes
2answers
32 views

Why in the static pages of my theme are showing these information?

I am working on a WordPress theme and I have some problem with the pages\posts layout. For example if you go here: http://lnx.asper-eritrea.com/lassociazione/ This is a static page that show some ...
0
votes
1answer
83 views

Hide certain pages / posts on wp-admin, show custom filter

I'm integrating a separate ecommerce CMS into a wordpress theme, using page templates for some pages such as the basket, search and checkout pages. This is working out pretty well so far. However, ...
0
votes
1answer
36 views

Admin - no Featured image choice in create new/page|post

I am developing a WP theme and I wanted to add a thumbnail/featured image to a new page/post but there is no such option/choice - like it used to be, I am using WP 3.8.1, I did try to turn off all the ...
0
votes
0answers
70 views

Is a true MiniSite possible with WordPress?

I am creating a website that needs to have separate custom “portals” or “Sections” depending on which market you are in. Example situation: user lands on the home page. User looks at the top-level ...
0
votes
1answer
52 views

Toolbar Hidden in a Virtual Page

I am trying to create a virtual page, but my admin toolbar is not showing up. This is how I am creating the virtual page: functions.php add_action('init', function() { ...
0
votes
0answers
38 views

How to create a custom style for a particular page type

I have a page that requires a different underline color for each first letter on all H2's in every "neighborhood" and there are 27 of them. I'm using a SASS variable for the hex color $a. The current ...
0
votes
0answers
506 views

The Loop won't display page or post content

I can't get the page content to appear in my custom wordpress theme. I have an extremely simple version of The Loop, which should just display the title and the content of the current page or posts. ...
0
votes
1answer
101 views

How get the 10 most viewed pages (not post)

I would like to know how it's possible to get the 10 most viewed pages ? I know how make it with post, but not with page... Thanks for your help.
0
votes
1answer
47 views

Custom theme template files

Im trying to create a Theme from scratch, its quite challenging, cause im new to WP. I follow this developing process at Teamtreehouse. All is very good, its just, im puzzled with the template file ...
0
votes
1answer
128 views

How can I change the title of the Home link in the navigation bar?

I use Bones theme with a static front page. The header.php calls the bones_main_nav() function without parameters, while bones_main_nav() only calls the wp_nav_menu() function.
0
votes
1answer
55 views

Remove specific published page when theme deactivated

I am working on developing a theme which automatically creates a page on theme ativation. But the problem if when the theme is switched and activated again, it recreates the page. is it possible to ...
2
votes
1answer
78 views

How to highlight the current page in the nav menu?

I'm customizing a WordPress theme for my school, and I'm a bit annoyed by the fact that the current page in the nav menu is not indicated. For example: You can clearly see that I'm hovering over a ...
0
votes
1answer
46 views

Adding Media button to only pages

I have created a media button as such: // Create a media button for pages function aisis_page_button_link(){ global $post_ID, $temp_ID, $iframe_post_id; $iframe_post_id = (int) (0 == ...
0
votes
1answer
95 views

Do I really need the div class entry?

I was wondering if it's really neccessary to keep the <div class="entry"> in the page.php file (or any other template for that matter). I typically use a blank HTML5 wordpress theme and it ...
0
votes
1answer
108 views

The content not wrapped in paragraph tags with get_page_by_title()

I am using $page = get_page_by_title('name'); to get the contents of a page. When I echo $page->post_content; none of the content is wrapped in p tags like it is when run threw the normal ...
0
votes
2answers
51 views

Standard Way To Do Custom Work Within A Page?

First post here, looking forward to using this community more. I'm trying to figure out the "standard" way or "proper" way of doing custom HTML work within a particular page. For example, I'm ...
4
votes
3answers
1k views

Posts in multiple Categories different single.php

I am smashing my head against some code. Here is the situation: I have one post in 3 different categories, this post has to be visible in "category 1" with the single1.php, in "category 2" with ...
1
vote
1answer
202 views

How to place HTML tags in content from the_content()?

Firstly, I am new to Wordpress so thank you for your patience. I have a list of posts (with excerpts) being displayed in the page using Short Tags. The output is fine , However, I wish to add and ...
1
vote
2answers
320 views

How do I get the next page of posts link?

Functions such as get_next_posts_link allow you to get the HTML link to the next page, with few parameters for change (label and max pages). I want to get the URL to the next page so I can add custom ...
0
votes
2answers
585 views

Multiple TinyMCE Editors in one Admin Page

Please could someone give me an idiots guide to adding more than one TinyMCE editor to a page editor page please. I am creating my own wordpress theme and the multiple editors are an essential part of ...
0
votes
2answers
276 views

Wordpress Architecture as a CMS - Posts & Pages

How can I associate posts with pages? Trying to determine the best architecture / strategy to achieve the following... Using WordPress as a CMS 8 Pages each with sub pages Each page can also have ...
0
votes
1answer
167 views

Migrating to Wordpress - but how will it do “structured” data?

Over the years we've looked after a few Wordpress sites but never anything more than a bit of maintenance. We've never started from scratch in Wordpress or converted an existing site over to ...
0
votes
3answers
150 views

Need help with adding templates (archives and sitemap) to Wordpress child theme

I recently switched themes, and my old theme had templates for sitemap and archive (in fact the archive was one of my most viewed pages.) When I switched themes the link to the archive and sitemap ...
1
vote
3answers
2k views

the_excerpt() not showing manual excerpt for Pages

I have enabled the excerpt feature for pages in my wordpress theme - add_action( 'init', 'my_add_excerpts_to_pages' ); function my_add_excerpts_to_pages() { add_post_type_support( ...
1
vote
1answer
437 views

Allow non-logged in users to see a future post after clicking on a list of future posts

I have been able to list out pages that are set for future in a custom template like this: ...
0
votes
1answer
673 views

How do I do a page break?

Is there a way to add a page break into length pages? Preferably automatically, but doesn't really matter. Ideally without a plugin.
2
votes
1answer
2k views

Create a new page in WordPress theme

I am creating a functionality in WordPress where I need to create a new php page and have to link it in the menu section of my website. Though I can create a page from the dashboard but due to some ...
0
votes
1answer
110 views

Parent/Child pages

I find that the parent/child pages in the "Pages" area of WordPress has become a bit confusing since the introduction of the new menu creation area. Using the new menu system, as far as I know I can ...
5
votes
4answers
1k views

A way to automatically install pages on theme install?

I'm trying to build a theme which would require specific pages to be included. Is there a way to automatically create pages and assign them to their page templates when a theme is installed?
4
votes
1answer
3k views

Pages: frontpage.php, home.php, posts page etc

When do I use the following: home.php frontpage.php Under Settings > Reading Settings Front Page Posts Page I wish to clarify this as I find myself using "Placeholder Pages", empty pages just ...
3
votes
2answers
189 views

Is it proper to create a page just to generate a listing page (eg. for a custom post type)

I find myself creating pages just as a "placeholder" to a listing page. eg. I create a page "Blog" and "Portfolio". Both has the editor emtpy. And I just use it so that I can use page-blog.php and ...
1
vote
1answer
1k views

using jQuery Cycle by Malsup with WordPress Page and Gallery

I would like to modify a WP Gallery to use the jquery cycle plugin by malsup. I know this is possible but would like to know best practice for this, if anything just pulling out the url for each ...
1
vote
3answers
86 views

Excluding Pages not working

I was trying to set up a few pages the other day that would hold an authors information (only to be accessed from the author snippet at the bottom of posts), and obviously these pages are showing up ...
2
votes
2answers
451 views

Displaying part of every child page?

I have been trying to find a way to return page information in order to create a landing page. I have done this with posts before, to create a blog reel, and would like to achieve the same overall ...
3
votes
2answers
459 views

wp_insert_post breaks rewrite rules

I'm using wp_insert_post to programmatically add content to a site. This works fine with posts, categories and tags, but not with pages. When I attempt to add a page (i.e. post with post_type=page), ...