Posts by webdesignerart

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

There is so many themes for modeling and photography themes just search and if you want some custom work send me details through my profile page ;)

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

Well,

I checked the plugin code and the post_type it registers is bannerspace_post.

This code you have:

if ( in_array( $post_type, array('post','page','attachment') ) )
    continue;

basically excludes all posts, pages and attachments… the “continue” skip that loop iteration, it doesn’t mean “execute the next code”. For your knowelede: http://php.net/manual/en/control-structures.continue.php

So, change to this:

if ( in_array( $post_type, array('bannerspace_post', 'attachment') ) )
    continue;

and you will exclude attachments and the banner slides.

Parker

Mate you’re the hero, Very professionally done :) Thanks.

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

Hello you beautiful people, I’m back again with more invites. So post your work (without breaking TF rules) or just tell me to check out your profile if that’s where your work is. I have two invites, so let me see your best stuff.

Here is my portfolio website see all my crafted websites: abdullah.webdesignerart.com

Latest work: http://clinar.com/index.html
1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says



Hi,

sorry, I’ve read “forsearch” in your post and I thought you wanted to exclude your slider posts from search :)

Anyway, what’s the problem excluding a post type from the query?

In the query arguments set your post_type => array(‘post’,’page’,’attachment’) and so excluding your slides posts…

Then, don’t use query_posts for custom queries, that’s wrong. Use wp_query instead of it:

http://codex.wordpress.org/Class_Reference/WP_Query Parker
Dude i am not going to exclude from search :P basically i list my all posts in sitemap page. here is: http://www.avanzasolutions.com/123456/site-map But on top First show banner slide i don’t want to list this post in sitemap. I found this code to create site map page it works nice but i want bit modification to exclude Banner Slider posts from site map :)

OK, but you already do this:

if ( in_array( $post_type, array(‘post’,’page’,’attachment’) ) )

so, it’s loading only posts, pages and attachments (why attachments in a site map?)

Which is the post type of your banner/slider slides?

Parker
Which is the post type of your banner/slider slides? Yeah i use bannerspace plugin: http://wordpress.org/extend/plugins/bannerspace/

and this plugin use custom post type.

I want to exclude this banner slider posts from my sitemap.

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

Hi,

sorry, I’ve read “forsearch” in your post and I thought you wanted to exclude your slider posts from search :)

Anyway, what’s the problem excluding a post type from the query?

In the query arguments set your post_type => array(‘post’,’page’,’attachment’) and so excluding your slides posts…

Then, don’t use query_posts for custom queries, that’s wrong. Use wp_query instead of it:

http://codex.wordpress.org/Class_Reference/WP_Query Parker
Dude i am not going to exclude from search :P basically i list my all posts in sitemap page. here is: http://www.avanzasolutions.com/123456/site-map

But on top First show banner slide i don’t want to list this post in sitemap. I found this code to create site map page it works nice but i want bit modification to exclude Banner Slider posts from site map :)

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

Congratz, So Cute baby :)

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

Hi Guys,

My website have all posts in custom post types and unfortunately i am using slideshow plugin which also use custom post type feature. So in my sitemap page all custom post types page are showing which is fine but slider plugin posts are also showing which i don’t want to show in my site map. So how i exclude this post type from foresearch loop.

Here is my site map snipt that show all post type:

foreach( get_post_types( array('public' => true) ) as $post_type ) {
  if ( in_array( $post_type, array('post','page','attachment') ) )
    continue;

  $pt = get_post_type_object( $post_type );

  echo '<h2>'.$pt->labels->name.'</h2>';
  echo '
    ’; query_posts(‘post_type=’.$post_type.’&posts_per_page=-1’); while( have_posts() ) { the_post(); echo ‘
  • ’.get_the_title().’
  • ’; } echo ‘
’; }

But i want to exclude my slider banner post type from this foresearch loop.

Any idea to achieve this?

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

Ramaadan Kareem Mubarak.

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says

SFTP

SFTP ? you mean built-in FTP feature in Sublime 2

1749 posts
  • 4 Years of Membership
  • Beta Tester
  • Collector Level 2
  • Exclusive Author
webdesignerart
says


Hi guys,

I make small website for mobile devices but when i am veawing site blackberry my site background images are not showing :(

Iz there any trick for assign elements image backgrounds in different way.

I am doing this:
background:url(../images/home_icon.png) no-repeat;
ANY IDEA for this Crap.
You should be nicer when asking for help… I don’t really get what you are saying, since you don’t really take your time to write and correct your post.
Suggestion: If you don’t speak English, translate your language to English at http://translate.google.com
Solution to your problem: Since I don’t really get what you are asking, here’s what I think it is:
If the background is small and you want it to repeat, your code should be:
background: url("../images/home_icon.png") repeat;

Hi mate, Sorry for my english.

Basically i am saying that background images are not showing in Blackberry Mobile device, SIMPLE .

I don’t which css background property blackberry support for mobile devices.

by
by
by
by
by
by