Hakkim P Ahammed
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Insert into post – issue with media uploaderWhen I am trying to insert the thumbnail or medium sized file of an already uploaded image into the editor, it always inserts the original big file, not the one I selected from the dropdown, which has options thumbnail, medium, original like that.
Forum: Fixing WordPress
In reply to: URLs not updatingChange the values of ‘home’ and ‘site_url’ fields in ‘wp-options’ table to your current site address.
Forum: Fixing WordPress
In reply to: internal error after update to 3.6Please check files and directory permissions. All files should be 644 and directories should be 755.
Forum: Fixing WordPress
In reply to: internal server errorPlease make sure that all directories having permission 755 and files 644, and try again. Also try changing permalink structure to default.
Forum: Fixing WordPress
In reply to: Listing specific page by slugYou’re welcome man…:) Enjoy !!!
Forum: Fixing WordPress
In reply to: Listing specific page by slugTry this way
$args=array(
‘orderby’ =>’parent’,
‘tag_slug__in’ => array(‘essen’,’trinken’,wein’),
‘order’ =>’asc’,
‘post_type’ =>’page’
);
and remove this line query_posts($args);Forum: Fixing WordPress
In reply to: Listing specific page by slugRemove the comma after ‘post_type’ =>’page’ and try again. Also have you set tags for posts from admin side and save it? if not please do that and use the same tag name in the above code.
Forum: Fixing WordPress
In reply to: Listing specific page by slugFor every post/page you would get an option from admin side to set a tag or custom field in its edit page. You can use multiple tags or custom fields for a single post. Later you can use the same snippet of code by changing the arguments values.
For ex:$args=array( 'orderby' =>'parent', 'tag' => 'apples+oranges', 'order' =>'asc', 'post_type' =>'page', ); query_posts($args);
so that you can fetch all posts having the specified tags. Note that multiple tags are separated by ‘+’ sign.
Forum: Fixing WordPress
In reply to: Listing specific page by slugYes, it allows only one slug at a time, so you have to run this code multiple times to get the result you want and that’s not a good way of coding. But I wonder,why didn’t you try to set some specific tag or custom fields for those posts you want and then try to retrieve them by the same tag or custom field? so that there would be lot of options available.
Forum: Hacks
In reply to: Get all posts(attachments) by custom taxonomy – termTry this,
$args = array( 'post_type'=> 'YOUR_POST_TYPE', 'gallery' => 'name1, name2,name3', 'order' => 'ASC' ); query_posts( $args );
After this, use WP loop to fetch post data.
Forum: Fixing WordPress
In reply to: Listing specific page by slugTry this code. Example below
$the_slug = 'my-slug'; $args=array( 'orderby' =>'parent', 'name' => $the_slug, 'order' =>'asc', 'post_type' =>'page', );
Forum: Fixing WordPress
In reply to: How to display the last comment just for one post, on the homepageUse this WP function get_comments()
Forum: Plugins
In reply to: [iframe] How to set 100% hight in iframe pluginI have faced this issue many times earlier and tried with many CSS and JS/jQuery tricks. So as of my experience this not so easy to set dynamic height for an iframe. Some javascripts available to make it possible but that does not works in cross domain. Anyone know a complete solution for this?
Forum: Hacks
In reply to: paginate_links problemGlad to hear that you solved the issue !! ??
Forum: Fixing WordPress
In reply to: URL for all my blog posts?Cheers !!! ??