exclude an attribute from a short code

  • Unknown's avatar

    Hello and thank you in advance for your time! We are using a custom theme for our wp site, which is connected to a wordpress database where families can create their own profiles.

    The web site pulls family profiles from that database via a shortcode, which is the database name:
    On this page: https://lifetimeadoption.com/west-region/
    through this shortcode: [ltadb region=”W” perpage=”15″]

    I created a new custom field/attribute called afl_family and want to exclude all who choose “yes” from the display.

    When I add: [ltadb region=”W” afl_family=”N” perpage=”15″]
    even though only one family meets this criteria, a bunch of profiles are excluded.

    Is there another way of writing this? Thanks for your help!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    lifetimeadoption.com/ is hosted by CloudFlare
    Nameservers: clay.ns.cloudflare.com, etta.ns.cloudflare.com

    WordPress.COM sites and WordPress.ORG sites have different logins ans support forums. You are posting to the wrong support forum for support for your software. Also be aware of who the web host is for your site(s) and contact them for any hosting issues.

    That site is not hosted on wordpress.COM servers. This is wordpress.COM support. We do not provide support for local installs of wordpress.ORG software, or for wordpress.ORG software installs on paid hosting, linked to wordpress.COM accounts with the Jetpack plugin so they display on the My Sites wordpress.com account page. Read the differences here https://en.support.wordpress.com/com-vs-org/

    The wordpress.ORG support forum is at http://wordpress.org/support. The wordpress.ORG login link is here https://login.wordpress.org/ If you do not have an account yet then click Create an account https://login.wordpress.org/register/ and if you have lost an account password click Lost password? https://login.wordpress.org/lostpassword/

    WordPress.org support docs are at https://codex.wordpress.org/Main_Page

  • The topic ‘exclude an attribute from a short code’ is closed to new replies.