janochen
  • 0
Мастер

Как добавить «или» вместо и «и» (&) в запрос WordPress?

  • 0

Я хотел бы сделать что-то вроде этого:

        <?php $custom_posts = new WP_Query(); ?>
        <?php $custom_posts->query('category_name=Business OR category_name=Technology OR category_name= Lifestyle'); ?>
        <?php while ($custom_posts->have_posts()) : $custom_posts->the_post(); ?>
            <div class="content-block-14">
                <h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
                <?php the_content(); ?>
            </div>
        <?php endwhile; ?>

Так что, если пост принадлежит только к одной из этих категорий, он должен быть указан в этом цикле.

Какие-либо предложения?

Share
  1. [url=https://casinoongames.com/]my bookie[/url]
    slotslv
    [url=https://casinowingames.com/]online casino[/url]
    andromeda
    [url=https://realmonetcasino.com/]ignition casino[/url]
    ducky luck
    [url=https://getb8.us/]vegas crest[/url]
    slotslv
    [url=https://flashroyal.net/]planet 7[/url]
    ignition casino
    [url=https://casinotoplines.com/]ducky luck casino[/url]
    my bookie

    • 0
  2. [url=https://loanstoonline.com/]installment cash advance loans[/url]
    installment loans
    [url=https://loans-online-apply.com/]loans company[/url]
    payday loans online 5 minute approval
    [url=https://youloan24.com/]lead loans[/url]
    advance america cash advance

    • 0
  3. [url=https://loans-online-apply.com/]payday loans[/url]
    online loans
    [url=https://youloan24.com/]payday loans online[/url]
    payday loan
    [url=https://loanstoonline.com/]payday loans online[/url]
    payday loans online

    • 0
  4. [url=https://loans-online-apply.com/]loans[/url]
    loans online
    [url=https://youloan24.com/]online loans[/url]
    small loans
    [url=https://loanstoonline.com/]payday loans[/url]
    loans online

    • 0
  5. [url=https://loans-online-apply.com/]payday loans[/url]
    loan
    [url=https://youloan24.com/]loans online[/url]
    cash advance
    [url=https://loanstoonline.com/]payday loans online[/url]
    payday loan

    • 0
  6. [url=https://loans-online-apply.com/]loans online[/url]
    loans
    [url=https://youloan24.com/]online loans[/url]
    small loans
    [url=https://loanstoonline.com/]payday loan[/url]
    payday loan

    • 0
  7. [url=https://loans-online-apply.com/]payday loans[/url]
    small loans
    [url=https://youloan24.com/]online loans[/url]
    loan
    [url=https://loanstoonline.com/]online loans[/url]
    loans

    • 0
  8. [url=https://loans-online-apply.com/]payday loan[/url]
    payday loans
    [url=https://youloan24.com/]loans online[/url]
    payday loans online
    [url=https://loanstoonline.com/]loan[/url]
    small loans

    • 0
  9. [url=https://loans-online-apply.com/]payday loan[/url]
    loans online
    [url=https://youloan24.com/]cash advance[/url]
    loans online
    [url=https://loanstoonline.com/]small loans[/url]
    payday loans online

    • 0
  10. [url=https://loans-online-apply.com/]payday loans online[/url]
    payday loan
    [url=https://youloan24.com/]online loans[/url]
    loans online
    [url=https://loanstoonline.com/]payday loans online[/url]
    cash advance

    • 0
  11. [url=https://casinowingames.com/]gambling[/url]
    slots
    [url=https://casinowellplay.com/]casino[/url]
    online casinos
    [url=https://casinogambiba.com/]casino online[/url]
    casinos
    [url=https://casinoongames.com/]casino real money[/url]
    slots

    • 0
  12. [url=https://casino-online-slots-real.com/]slotomania free slots facebook[/url]
    slot casino games

    • 0
  13. [url=https://casino-online-slots-real.com/]caesars free slot casino[/url]
    gossip slots

    • 0
  14. [url=https://casino-online-slots-real.com/]slot machine games free[/url]
    winning slots

    • 0
  15. [url=https://casino-online-slots-real.com/]myvegas slots on facebook[/url]
    caesars slots

    • 0
  16. [url=https://loans-online-apply.com/]payday online loans[/url]
    payday loan cash advances
    [url=https://youloan24.com/]installment cash advance loans[/url]
    get loans online
    [url=https://loanstoonline.com/]small loans online[/url]
    payday loans cash advance

    • 0
  17. [url=https://casino-online-slots-real.com/]free slots vegas world[/url]
    bc slots

    • 0
  18. [url=https://sildviagrados.com/]cost of viagra without insurance[/url]
    female viagra cvs

    • 0
  19. [url=https://madianpills.com/]prices for viagra[/url]
    viagra online
    [url=https://tblsviagra.com/]sildenafil davis pdf[/url]
    viagra in india
    [url=https://invitromrt.com/]teva generic viagra cost[/url]
    taking viagra for fun
    [url=https://midacomvario.com/]drugs not to take with viagra[/url]
    viagra para mujeres
    [url=https://sildviagrados.com/]levitra vs viagra[/url]
    goodrx viagra

    • 0
  20. [url=https://ciamgdosage.com/]tadalafil dosage[/url]
    cialis vs viagra
    [url=https://genercialtadal.com/]generic name for cialis[/url]
    how much is cialis
    [url=https://cialiswallettad.com/]cialis 20mg side effects[/url]
    cialis discount

    • 0
  21. [url=https://madianpills.com/]viagra pill[/url]
    viagra 50mg
    [url=https://tblsviagra.com/]viagra tablet price[/url]
    viagra pills
    [url=https://invitromrt.com/]viagra pill for man[/url]
    viagra 150mg
    [url=https://midacomvario.com/]viagra 150mg[/url]
    viagra pills
    [url=https://sildviagrados.com/]otc viagra[/url]
    viagra pill for man

    • 0
  22. [url=https://casino-online-slots-real.com/]slots games[/url]
    free slots games
    [url=https://free-slots-casino.us/]free slot games[/url]
    slots online
    [url=https://slotsonfreegames.com/]free slots[/url]
    online casino

    • 0
  23. [url=https://madianpills.com/]viagra tablet[/url]
    viagra 100mg price
    [url=https://tblsviagra.com/]viagra pills[/url]
    viagra
    [url=https://invitromrt.com/]viagra tablet price[/url]
    viagra for man
    [url=https://midacomvario.com/]generic viagra[/url]
    viagra pills
    [url=https://sildviagrados.com/]viagra tablet[/url]
    viagra pill for man

    • 0
  24. [url=https://madianpills.com/]viagra cost[/url]
    viagra 50mg
    [url=https://tblsviagra.com/]viagra 100mg price[/url]
    viagra tablet price
    [url=https://invitromrt.com/]viagra cost[/url]
    viagra pill for man
    [url=https://midacomvario.com/]viagra 100mg[/url]
    viagra pills for man
    [url=https://sildviagrados.com/]viagra pills for man[/url]
    viagra pills

    • 0
  25. [url=https://ciamgdosage.com/]tadalafil 20mg india[/url]
    buying cialis cheap
    [url=https://genercialtadal.com/]cialis bathtub[/url]
    teva generic cialis
    [url=https://cialiswallettad.com/]tadalafil liquid[/url]
    can i take two 5mg cialis at once

    • 0
  26. [url=https://casino-online-slots-real.com/]casino game[/url]
    slot machines
    [url=https://free-slots-casino.us/]online casino real money[/url]
    slot games
    [url=https://slotsonfreegames.com/]slots casino[/url]
    slots games

    • 0
  27. [url=https://flashroyal.net/]online casinos[/url]
    casinos
    [url=https://casinowingames.com/]gambling[/url]
    casinos
    [url=https://onlinelistcasino24.com/]casino games[/url]
    slots
    [url=https://realmonetcasino.com/]gambling[/url]
    online casino
    [url=https://casinogambiba.com/]casino game[/url]
    slots
    [url=https://casinowellplay.com/]casino real money[/url]
    casino games
    [url=https://casinoongames.com/]online casino[/url]
    casino game
    [url=https://casinotoplines.com/]gambling[/url]
    casinos

    • 0
  28. [url=https://casino-online-slots-real.com/]free casino games[/url]
    casino
    [url=https://free-slots-casino.us/]free slots games[/url]
    free online slots
    [url=https://slotsonfreegames.com/]free slots games[/url]
    free slots

    • 0
  29. [url=https://madianpills.com/]viagra cost[/url]
    viagra tablet
    [url=https://tblsviagra.com/]viagra tablet price[/url]
    viagra pill for man
    [url=https://invitromrt.com/]otc viagra[/url]
    viagra 50mg
    [url=https://midacomvario.com/]viagra pill for man[/url]
    viagra for man
    [url=https://sildviagrados.com/]viagra tabs online[/url]
    viagra 150mg

    • 0
  30. [url=https://flashroyal.net/]online casino[/url]
    casinos
    [url=https://casinowingames.com/]casino games[/url]
    casino online
    [url=https://onlinelistcasino24.com/]casinos online[/url]
    casino game
    [url=https://realmonetcasino.com/]online casino[/url]
    casino online
    [url=https://casinogambiba.com/]online casinos[/url]
    casino game
    [url=https://casinowellplay.com/]slots[/url]
    casinos
    [url=https://casinoongames.com/]casino real money[/url]
    online casinos
    [url=https://casinotoplines.com/]casino games[/url]
    casino

    • 0
  31. [url=https://madianpills.com/]viagra tablet[/url]
    viagra pills
    [url=https://tblsviagra.com/]viagra[/url]
    viagra 100mg price
    [url=https://invitromrt.com/]viagra 25mg[/url]
    viagra tablet price
    [url=https://midacomvario.com/]viagra 100mg price[/url]
    viagra 50mg
    [url=https://sildviagrados.com/]viagra pills for man[/url]
    best price for viagra 100mg

    • 0
  32. [url=https://ciamgdosage.com/]normal dose of cialis[/url]
    tadalafil 20 mg tablet
    [url=https://genercialtadal.com/]where to buy tadalafil[/url]
    viagra vs. cialis
    [url=https://cialiswallettad.com/]canadian pharmacy ezzz cialis[/url]
    tadalafil buy

    • 0
  33. [url=https://madianpills.com/]viagra[/url]
    otc viagra
    [url=https://tblsviagra.com/]viagra pill price[/url]
    viagra tablet price
    [url=https://invitromrt.com/]otc viagra[/url]
    viagra tablet price
    [url=https://midacomvario.com/]viagra pill[/url]
    viagra pills for man
    [url=https://sildviagrados.com/]viagra pills for man[/url]
    viagra tablet price

    • 0
  34. [url=https://ciamgdosage.com/]side effects of cialis[/url]
    generic cialis 2018
    [url=https://genercialtadal.com/]how to get cialis prescription online[/url]
    cialis price cvs
    [url=https://cialiswallettad.com/]generic tadalafil[/url]
    cialis trial

    • 0
  35. [url=https://ciamgdosage.com/]buy cialis online overnight shipping[/url]
    what is cialis
    [url=https://genercialtadal.com/]tadalafil for sale[/url]
    mail order cialis
    [url=https://cialiswallettad.com/]buy cialis without prescription[/url]
    tadalafil cost walmart

    • 0
  36. [url=https://casino-online-slots-real.com/]free casino slots[/url]
    slot machines
    [url=https://free-slots-casino.us/]free slot machines[/url]
    online casino real money
    [url=https://slotsonfreegames.com/]casino slots[/url]
    casino real money

    • 0
  37. [url=https://casino-online-slots-real.com/]casino online[/url]
    slots free
    [url=https://free-slots-casino.us/]slots casino[/url]
    slot machines
    [url=https://slotsonfreegames.com/]slots free[/url]
    slotomania online slots

    • 0
  38. Укрказино — Это блог на тему онлайн казино на гривны [url=http://www.xx-centure.com.ua/archives/58174]http://www.xx-centure.com.ua/archives/58174 [/url], в первую очередь для украинских игроков.
    Мы конечно могли бы не заморачиваться, и составить на нашем сайте рейтинг из сотен скриптовых онлайн казино, без лицензии и пиратскими онлайн играми, как делают большинство сайтов с рейтингом казино [url=https://www.newsglobus.in.ua/novosti/ekonomika/3481-kak-vybrat-nadezhnoe-internet-kazino-na-realnye-dengi.html]https://www.newsglobus.in.ua/novosti/ekonomika/3481-kak-vybrat-nadezhnoe-internet-kazino-na-realnye-dengi.html[/url]

    • 0
  39. [url=https://madianpills.com/]viagra 100mg[/url]
    otc viagra
    [url=https://tblsviagra.com/]viagra tablet price[/url]
    viagra pills
    [url=https://invitromrt.com/]viagra 100mg price[/url]
    viagra cost
    [url=https://midacomvario.com/]viagra pills for man[/url]
    viagra tablet price
    [url=https://sildviagrados.com/]viagra 50mg[/url]
    viagra

    • 0
  40. [url=https://ciamgdosage.com/]how to use cialis[/url]
    cialis 5mg price cvs
    [url=https://genercialtadal.com/]over the counter cialis[/url]
    cialis coupon walmart
    [url=https://cialiswallettad.com/]does cialis lower blood pressure[/url]
    cialis coupon free trial

    • 0
  41. [url=https://flashroyal.net/]casinos[/url]
    casino games
    [url=https://casinowingames.com/]online casinos[/url]
    slots
    [url=https://onlinelistcasino24.com/]casino games[/url]
    online casino
    [url=https://realmonetcasino.com/]casino real money[/url]
    casino
    [url=https://casinogambiba.com/]casinos[/url]
    casino games
    [url=https://casinowellplay.com/]online casinos[/url]
    casino online
    [url=https://casinoongames.com/]gambling[/url]
    gambling
    [url=https://casinotoplines.com/]casino game[/url]
    casino real money

    • 0
  42. [url=https://loans-online-apply.com/]cash advance[/url]
    payday loans
    [url=https://youloan24.com/]cash advance[/url]
    payday loans online
    [url=https://loanstoonline.com/]payday loans[/url]
    online loans

    • 0
  43. [url=https://ciamgdosage.com/]cialis tablet[/url]
    cialis prescription
    [url=https://genercialtadal.com/]maxim peptide tadalafil[/url]
    how many years can you take cialis?
    [url=https://cialiswallettad.com/]buy cialis 5mg online[/url]
    tadalafil 40 mg

    • 0
  44. [url=https://casino-online-slots-real.com/]slots free[/url]
    free slot machines
    [url=https://free-slots-casino.us/]casino real money[/url]
    free slot machines
    [url=https://slotsonfreegames.com/]slot games[/url]
    free slots no download

    • 0
  45. [url=https://ciamgdosage.com/]purchasing cialis online[/url]
    tadalafil price
    [url=https://genercialtadal.com/]cialis order[/url]
    cialis with prescription online
    [url=https://cialiswallettad.com/]generic cialis cost[/url]
    cialis online without prescription

    • 0
  46. [url=https://madianpills.com/]viagra 100mg price[/url]
    viagra for man
    [url=https://tblsviagra.com/]viagra[/url]
    viagra tabs online
    [url=https://invitromrt.com/]otc viagra[/url]
    viagra 150mg
    [url=https://midacomvario.com/]viagra pills for man[/url]
    viagra 25mg
    [url=https://sildviagrados.com/]viagra pills[/url]
    viagra tablet

    • 0
  47. [url=https://casinowingames.com/]casino[/url]
    casinos online
    [url=https://casinowellplay.com/]casino games[/url]
    casino games
    [url=https://casinogambiba.com/]online casinos[/url]
    gambling
    [url=https://casinoongames.com/]casino online[/url]
    casinos online

    • 0
  48. [url=https://madianpills.com/]viagra tablet[/url]
    viagra tablet
    [url=https://tblsviagra.com/]viagra 150mg[/url]
    viagra 100mg price
    [url=https://invitromrt.com/]viagra pill price[/url]
    viagra 100mg
    [url=https://midacomvario.com/]viagra 50mg[/url]
    viagra cost
    [url=https://sildviagrados.com/]viagra pill[/url]
    viagra 100mg

    • 0
  49. [url=https://ciamgdosage.com/]how to buy cialis[/url]
    tadalafil cialis
    [url=https://genercialtadal.com/]tadalafil 5mg price[/url]
    buying cialis online
    [url=https://cialiswallettad.com/]is there a generic cialis available?[/url]
    tadalafil online pharmacy

    • 0
  50. [url=https://madianpills.com/]viagra tablet[/url]
    viagra 100mg price
    [url=https://tblsviagra.com/]viagra for man[/url]
    viagra 100mg
    [url=https://invitromrt.com/]generic viagra[/url]
    viagra tablet
    [url=https://midacomvario.com/]viagra pill for man[/url]
    viagra
    [url=https://sildviagrados.com/]viagra pill for man[/url]
    best price for viagra 100mg

    • 0
  51. [url=https://ciamgdosage.com/]what does cialis do[/url]
    cialis without prescription
    [url=https://genercialtadal.com/]buying cialis online safe[/url]
    viagra and cialis together
    [url=https://cialiswallettad.com/]cialis canada pharmacy[/url]
    can i take two 5mg cialis at once

    • 0
  52. [url=https://casino-online-slots-real.com/]free slot games[/url]
    casino games slots free
    [url=https://free-slots-casino.us/]free slots[/url]
    slot machine
    [url=https://slotsonfreegames.com/]slotomania online slots[/url]
    casino games slots free

    • 0
  53. [url=https://flashroyal.net/]online casinos[/url]
    casino real money
    [url=https://casinowingames.com/]casinos online[/url]
    casino games
    [url=https://onlinelistcasino24.com/]gambling[/url]
    online casino
    [url=https://realmonetcasino.com/]casinos[/url]
    gambling
    [url=https://casinogambiba.com/]casinos online[/url]
    casinos online
    [url=https://casinowellplay.com/]casino games[/url]
    casino real money
    [url=https://casinoongames.com/]casino games[/url]
    casinos
    [url=https://casinotoplines.com/]online casinos[/url]
    gambling

    • 0
  54. [url=https://flashroyal.net/]slots[/url]
    online casinos
    [url=https://casinowingames.com/]online casino[/url]
    casinos online
    [url=https://onlinelistcasino24.com/]casino[/url]
    gambling
    [url=https://realmonetcasino.com/]casino games[/url]
    online casino
    [url=https://casinogambiba.com/]casino real money[/url]
    casino game
    [url=https://casinowellplay.com/]casino[/url]
    gambling
    [url=https://casinoongames.com/]casino online[/url]
    online casino
    [url=https://casinotoplines.com/]casino real money[/url]
    casino online

    • 0
  55. [url=https://flashroyal.net/]casino game[/url]
    gambling
    [url=https://casinowingames.com/]gambling[/url]
    casino
    [url=https://onlinelistcasino24.com/]casino real money[/url]
    casino
    [url=https://realmonetcasino.com/]casino real money[/url]
    casino
    [url=https://casinogambiba.com/]casinos online[/url]
    casino online
    [url=https://casinowellplay.com/]gambling[/url]
    casino game
    [url=https://casinoongames.com/]slots[/url]
    casinos
    [url=https://casinotoplines.com/]casino game[/url]
    casino

    • 0
  56. [url=https://madianpills.com/]best price for viagra 100mg[/url]
    viagra tablet
    [url=https://tblsviagra.com/]viagra tabs online[/url]
    viagra 25mg
    [url=https://invitromrt.com/]viagra for man[/url]
    viagra 100mg price
    [url=https://midacomvario.com/]viagra tablet price[/url]
    viagra pill for man
    [url=https://sildviagrados.com/]viagra pill price[/url]
    viagra pills for man

    • 0
  57. [url=https://madianpills.com/]otc viagra[/url]
    viagra 25mg
    [url=https://tblsviagra.com/]viagra 100mg price[/url]
    viagra tablet
    [url=https://invitromrt.com/]otc viagra[/url]
    viagra tablet price
    [url=https://midacomvario.com/]viagra tablet[/url]
    viagra tabs online
    [url=https://sildviagrados.com/]viagra for man[/url]
    viagra pill for man

    • 0
  58. [url=https://casino-online-slots-real.com/]slots games[/url]
    free slot games
    [url=https://free-slots-casino.us/]free slots online[/url]
    free slots
    [url=https://slotsonfreegames.com/]online casino[/url]
    online casino real money

    • 0
  59. [url=https://flashroyal.net/]casino games[/url]
    casino
    [url=https://casinowingames.com/]slots[/url]
    online casinos
    [url=https://onlinelistcasino24.com/]online casino[/url]
    casino online
    [url=https://realmonetcasino.com/]slots[/url]
    casino real money
    [url=https://casinogambiba.com/]online casino[/url]
    casino real money
    [url=https://casinowellplay.com/]casino[/url]
    casino
    [url=https://casinoongames.com/]casino game[/url]
    gambling
    [url=https://casinotoplines.com/]casinos[/url]
    casino game

    • 0
  60. [url=https://loans-online-apply.com/]payday loans[/url]
    cash advance
    [url=https://youloan24.com/]payday loans[/url]
    payday loan
    [url=https://loanstoonline.com/]cash advance[/url]
    payday loan

    • 0
  61. [url=https://madianpills.com/]viagra 50mg[/url]
    viagra pills for man
    [url=https://tblsviagra.com/]best price for viagra 100mg[/url]
    viagra tablet
    [url=https://invitromrt.com/]best price for viagra 100mg[/url]
    viagra for man
    [url=https://midacomvario.com/]viagra 100mg[/url]
    viagra tabs online
    [url=https://sildviagrados.com/]viagra 25mg[/url]
    best price for viagra 100mg

    • 0
  62. [url=https://casino-online-slots-real.com/]casino online[/url]
    casino game
    [url=https://free-slots-casino.us/]free slots no download[/url]
    slot
    [url=https://slotsonfreegames.com/]free slots no download[/url]
    free casino slots

    • 0

Оставить ответ

You must login to add an answer.