csloisel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Time In PostsThat’s just the font.
Forum: Fixing WordPress
In reply to: get_permalink post id outside loopFrom what I can tell the easiest and most logical solution would be to just put the code in the loop. You haven’t provided any reason why it has to be outside the loop.
Forum: Fixing WordPress
In reply to: get_permalink post id outside loopI’m confused. So it is in the loop? If it is in the loop you could try removing the $postid arg from the function.
Forum: Fixing WordPress
In reply to: link the records between tables wp_postmeta and wp_postsIf you are doing a sql query you need to join the tables.
Forum: Fixing WordPress
In reply to: Notice warnings in admin sectionYou should be checking
isset()or!empty()on array keys before assuming they exist and then checking the value.Forum: Fixing WordPress
In reply to: displaying pagination on page problemYou are running the same query regardless of the page. Try adding the ‘paged’ arg to the query and using
get_query_var( 'paged' );Forum: Fixing WordPress
In reply to: having problems loading media files.What program are you using to export the images? And this may be a stupid question but I have to ask, you haven’t manually changed the extension on the files right?
Forum: Fixing WordPress
In reply to: get_permalink post id outside loopWhy isn’t it in the loop? It seems appropriate to have it in the loop. When does it get printed on the page? Does it go through the whole loop before printing the icons? Are the social icons for each post all using the same permalink, or is there a constant offset?
Forum: Fixing WordPress
In reply to: Creating and linking to a physical pageThat is part of the WordPress template hierarchy, the “132” is the page id. You can create templates for unique ids that way. Although it isn’t a very dynamic approach and there are usually better ways to accomplish the same thing.
More information on template hierarchy:
http://codex.ww.wp.xz.cn/Template_HierarchyForum: Fixing WordPress
In reply to: get_permalink post id outside loopWould help to have more context about where you are trying to get the permalink. Are you on a single page? On an archive page? In the footer? In the sidebar?
Forum: Fixing WordPress
In reply to: Php codes does not workingYou can’t insert php directly into a post or page. Php can only be added to .php files and templates.
Forum: Localhost Installs
In reply to: Help! Insert one piece of codes and website crash downIf it is on your local machine you do not need to FTP I misunderstood. You can access your files directly on your machine wherever you installed WordPress.
Forum: Localhost Installs
In reply to: Help! Insert one piece of codes and website crash downI just realized this was in the localhost forum. If it is on you local machine you can just edit the file and remove the code.
Forum: Localhost Installs
In reply to: Help! Insert one piece of codes and website crash downIt is usually 21.
Forum: Localhost Installs
In reply to: Help! Insert one piece of codes and website crash downWell it’s usually the same as your site, but you will have to get access credentials from your host.