The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
2answers
110 views

How to include the admin bar?

I'm working on a plugin which needs a custom Preview page. In this page i call the neccessary wp functions(wp-load.php & wp-admin/includes/admin.php). The problem is, that the admin bar is not ...
0
votes
2answers
250 views

Showing wordpress theme demo at front end

i am an wordpress developer and i am currently in a project in which i have 15 wordpress responsive themes and can be downloaded by users of my site. In this , i want the feature to show the user ...
1
vote
1answer
425 views

Custom post type “preview” not working

I'm having an issue with custom post type "draft" post previews redirecting to the site home page, if I have pretty permalinks enabled. For instance, I create a new "Project", save as draft, and ...
1
vote
1answer
261 views

I can't preview post's change once they are published

The preview function works fine when posts are just draft. The url looks like this : http://exemple.domain.com/blog/?p=12&preview=true Then when I pubish my posts, let's say I want to change ...
0
votes
1answer
114 views

How to include featured image on blog post preview?

I wanted to include the featured image to the blog posts' preview on the front page, however either I get the entire image with the options of cropping some of it off or I can't have any image on my ...
0
votes
1answer
222 views

Save Draft and Preview not working (1 post)

I'm on WP 4.3, latest. The "Save Draft" and "Preview" functionality aren't working. Drafts are not being saved. Clicking that button takes me to the home page of my website. Same with Preview. I ...
0
votes
1answer
167 views

get_post_meta($post->ID) returns empty string when in preview mode of custom post type

I've got my custom post type 'event'. I got tne next code in single-event.php: get_header(); the_post(); echo '<pre>'; echo "$post->ID\n"; var_dump(get_post_meta($post->ID)); echo '</...
0
votes
1answer
22 views

how to chang preview of list of articles of one category?

I have downloaded wp tempalte demo where I have articles dive into different categories. Each category has its own button in main menu. When I click to show the category, list of its articles are show ...
0
votes
1answer
499 views

After changing wp from subdirectory to root I can't preview any changes to a page or post

I followed the guideline from WP Codex. Changed the site url in general settings Copied the .haccess and the index.php files from the subdirectory to the root Edited the root index.php (new copied ...
0
votes
1answer
36 views

allow previews outside wordpress folder (Outsourcing WP previews)

I am outsourcing the wordpress and I already figured out the external view. I even know how to make a WP query for previews, but when I want to do that I simply cant - wp-load stops all operations and ...
0
votes
1answer
216 views

Latest news mini images

I tried to find an answer on websites and other forums, but found nothing. I will try to explain my problem. I need to change my WordPress website so that it displays a small image for all news ...
-3
votes
1answer
45 views

Disable “preview changes” button

How can I hide the "preview changes" button from the admin panel? Can anyone help?
1
vote
0answers
23 views

Which ID does WordPress actually use to display published/drafted posts in preview mode?

I can identify if in preview mode or not easily by calling is_preview(). I can also get the id of the post being previewed by calling get_the_ID(). The return value of the get_the_ID() is not ...
1
vote
0answers
30 views

Page with page template not using template in Preview

I am using a page template created by myself, which is showing and working correctly in page backend. It also works on the front end. The problem: Preview shows the normal "page.php" instead of ...
1
vote
0answers
41 views

How to allow potential clients to preview a theme

I have several themes installed in a Wordpress network. New clients will receive a network sub-site. I'd like them to be able to preview the available themes that are installed in Wordpress. There ...
1
vote
0answers
279 views

Theme Live Preview on Front End?

I have a membership site where a member will fill out a form (FormidablePro, if that matters). This form contains information that will be the content on a site which will be created once the form is ...
0
votes
0answers
85 views

Post preview in iframe without saving the post

I aim to make a live preview inside an iframe of the current edit post. The preview should render the post content only. Thats why I guess an iframe is actually a good idea. The frontend includes ...
0
votes
0answers
182 views

Cant Preview Drafts After WP 4.0 Update

I found one other thread on this, and tried the fixes, but none worked. I've updated a new client's site to WP 4.0, along with a new customized theme, and now we can't preview our drafts. When you ...
0
votes
0answers
31 views

Preview own posts if logged in

I want to make it so anyone logged in can view their own posts if draft or pending via the URL ?p=post_ID&preview=true. What is the best way to do this?
0
votes
0answers
951 views

WP 3.8 – Preview button not working for editor

After finishing developing my site I updated WordPress to 3.8. Everything works, but for some reason, an editor cannot click on the Preview button in the backend. Visiting the link http://www.domain....
0
votes
0answers
376 views

“Preview Changes” giving 404

Post Preview works fine, but after a post has already been published and changing the content and "previewing changes" before updating it again, it gives a 404. I think I've found out why this is ...