Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Plugins
    In reply to: [GedShow] Search engine

    Excellent! Thank you for your prompt reply – that is very helpful indeed.

    If there is an easy way (an additional PHP snippet to the shortcode routine?) to add a link to the details of each individuals listed, that would be great too.

    Let me know.

    Forum: Plugins
    In reply to: [GedShow] Search engine

    I really like the simplicity and accuracy of this plugin. Excellent!

    Regarding “Search”, I find the listing by surname quite sufficient to home in on an individual. However, as in my case, the ancestors are hidden in a restricted area of the website (you have to register and login). In order to to find first names + surnames for those who have not registered (and for Google search et al to index those names), I am using a wonderful plugin called Ajax Search Pro which can even index shortcodes of the type Gedshow uses. But there is a catch here…. If I index the shortcode [gedshow living=”yes”]with Ajax Search Pro, it won’t work as I want it to because this shortcode will only list surnames by themselves and the number of instances any surname is found in the database. The “real thing” ie. the full name of a family member is still two clicks away and cannot be reached by a single shortcode to date.

    Would it be possible to add a shortcode that simply lists all names in the database (first names with surname for each family member for the complete tree) much in a similar way as the shortcode [gs_allnames] does (however also for living members too)? Also, the link to the family member when clicked in the resulting list should work. In my specific implementation a login form would then appear which requires a visitor to register first, then login to access the specific relative’s details.

    In summary a new shortcode [gs_allnames living=yes] with active name links would greatly enhance Search capability using a plugin such as Ajax Search Pro.

    Thread Starter nielsk61

    (@nielsk61)

    1 day and many trials and a tribulation later….

    This short code seems to work for me (Divi Theme Builder, Pods plugin, and Content Visibility plugin):

    pods(‘mappost2’, ‘photo3)->exists() !== ”

    Just enter this into the field <Divi module> > Advanced tab > Visibility > Content Visibility

    NB1: ‘map2post’ is the “name” of the Pod (not it’s label!) created as a custom post type (CPT) using the Pods plugin

    NB2: ‘photo3’ is the name (not label!) of any example field in this CPT which in my specific case is a “dynamic content” item for the Image module in the Divi Theme Builder template.

    Result: if ‘photo3’ is populated with an image in the CPT (post) which uses this specific Divi Theme Builder template, it will display. If ‘photo3’ is not populated (empty), it will not display the usual “empty” image frame.

    Simple, right? Great plugin!

    Indeed. But where do I find examples of just those boolean expressions that I enter to enter in the Content Visibility field of Divi?
    I just want a Section/Module/Row to display if there is content, otherwise ignored.
    I’m using the Divi Theme Builder to populate “dynamic content” for an image module from a custom field/CPT that I created with another plugin (Pods).
    Maybe you can help or provide a link which outlines some examples. I couldn’t find any on the web.

Viewing 4 replies - 1 through 4 (of 4 total)