csloisel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Getting custom fields and contents from a single pageWhat are you expecting get_the_content() to do? I’m a little confused. If you expect it to print a video player, it isn’t going to do that. You have to handle creating the video player in the template.
Forum: Fixing WordPress
In reply to: How to Creat HTML Copy of Header & Footer?A really basic version would be to add something like this to your functions.php file:
add_action( 'parse_request', function() { if ( !empty($_GET['header']) ) { get_header(); do_action('wp_footer'); die; } elseif ( !empty($_GET['footer']) ) { do_action('wp_head'); get_footer(); die; } } );If you are using a pre-build theme make sure to use a child theme so your changes will not be lost when the theme is updated.
Forum: Alpha/Beta/RC
In reply to: Tag added to post when saved as draftDid you change your default category in Setting->writing?
Forum: Fixing WordPress
In reply to: How to Creat HTML Copy of Header & Footer?When I have done similar things in the past I did it this way:
Create endpoints for displaying just the header and just the footer. For example:
http://mysite.com/?header=1
http://mysite.com/?footer=1Then on the external site I used iframes with the sources set as the endpoints. For example:
<iframe src="http://mysite.com/?header=1"></iframe>This way also has the advantage of not being static. Any changes you make in the header or footer will show on the external site.
Forum: Fixing WordPress
In reply to: Force Reload on UpdateIt isn’t possible to reload their browser but you could have an ajax call that periodically checks for updated content. But that sounds like a huge waste of resources for such an unlikely event.
Forum: Fixing WordPress
In reply to: Transferring wordpress.com to ww.wp.xz.cnTry clearing your DNS cache locally on your operating system and your browser: https://support.opendns.com/entries/26336865-Clearing-the-DNS-Cache-on-Computers-and-Web-Browsers
Forum: Fixing WordPress
In reply to: Transferring wordpress.com to ww.wp.xz.cnHave you pointed your domain to bluehost name servers?
Forum: Fixing WordPress
In reply to: sub menu doesnt work after moving from server to localhostTry flushing the rewrite rules by changing the permalink structure, saving, then changing it back.
Forum: Fixing WordPress
In reply to: make urls active across hundreds of postsTry the auto link functionality on this plugin: https://ww.wp.xz.cn/plugins/sem-external-links/.
I’ve never used this plugin so I can’t vouch for it, but it seems to be up to date, and has good reviews.
Forum: Fixing WordPress
In reply to: Posts are not showing up on Catergory PagesI am seeing your posts show up just fine on: http://www.frozentuxedos.com/category/game-summaries/
Where are they not showing up?
Forum: Localhost Installs
In reply to: How would one change the ip, to not contain the port number?I’m not sure you are going to get a lot of help here, you might be able to get more help on a support forum for networking.
I strongly discourage hosting a live site on your local machine. Is there a reason you don’t just go with a web hosting service and purchase a domain? I would recommend taking that approach instead of continuing down this path.
Forum: Alpha/Beta/RC
In reply to: Tag added to post when saved as draftThat is strange. Has this happened with other posts? If so, is it always the same tag?
Forum: Fixing WordPress
In reply to: How to prevent funny characters on Home PageI can see it as well, this is definitely not an issue with your pc.
Forum: Hacks
In reply to: Why does $_REQUEST work but not $_POST$_REQUEST can be used to reference both GET and POST data. It is usually used when you can’t be sure which method data will be submitted with.
Since $_POST doesn’t work your form is probably defaulting to the GET method. You could add
method="post"to your form if you want to force it to use the POST method.Forum: Fixing WordPress
In reply to: What WP contents share the same ID incrementing?I think you are over analyzing this. The IDs are just the primary index of the entry in the database. It is basically the row id of the table. WordPress itself doesn’t do any incrementing.
All post types share the same table (wp_posts) and all terms share the same table (wp_terms). You can just look in the database if you want to see what objects are stored where and see where the IDs come from.
Out of curiosity, what is the reason for looking in to this issue?