English 中文(简体)
反映最新页次修改的口头问题
原标题:Wordpress problems retrieving the latest page revision

我有几部密码,从Wordpress的背部检索一页。 我利用这个员额来收回。 问题是,在我修改网页内容时,这些改动有一个新的员额。 能否收回最近几页的修订。 标题永远不会改变。

Also I am accessing these pages outside of Wordpress.

                $pagelisting = $_GET[ pagelisting ];
                require(  ../blog/wp-load.php  );
                define( WP_USE_THEMES , false);
                query_posts( showposts=1 );

                $post_id = 195;
                $queried_post = get_post($post_id);
                $title = $queried_post->post_title;

                $content = $queried_post->post_content;
                $content = apply_filters( the_content , $content);

                echo $content;
最佳回答

原来的员额为现职员额,你将看到该职位有:状态=公布,修订后有一个与原岗位相匹配的父母职位,以及继承职位的地位。

I hope this helps. /peter

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签