Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Nevrion

    (@nevrion)

    Hi, thank you for your answer. I knew this way, but unfortunately it does not help me with my project. I use FacetWP and would like to have posts sorted by event dates with FacetWP. That doesn’t seem to work this way, or I don’t understand it ??

    Hi Dario, thank you so much for your answer. Unfortunately I don’t have the basic knowledge to work with this information. Would you be so kind as to explain to me how I can place the whole thing in a custom post field?

    I would like to join this question.
    I use facetWP which allows me different filter options for my posts. facetWP also offers the possibility to get the value for a StarRating from a customfield. Is there a custom field in which the user rating of posts is stored? Or is it possible to generate this field?

    Thread Starter Nevrion

    (@nevrion)

    I would like to come back to it because it just does not let me go.

    My custom post type for mcs is called “mc”. My custom post type for crews is called “crew” MCs within a crew are called “mcs”.

    I have now tried many konstalationen back and forth in the end it is so if I “mcs” in the second template list I can with the shortcode (only template, without sorting) show. As soon as I have “where” in the shortcode, nothing is displayed anymore … I’m really obsessed. If you know someone who can really help me in German, I would be very grateful.

    Thread Starter Nevrion

    (@nevrion)

    Hello Jim, I’m speechless about your helpfulness, many thanks. I’m from Germany, but I think in my case that’s more of a logic problem than a language issue.
    That’s really bitter for me.
    I’d like to do a lot of things with pods, but I’ll fail because of a simple sorting of names.

    I do not get it even after your detailed explanation. Nothing is displayed in the crew profile, no matter how I try it, I’m really failing in the understanding of function.

    I tried several variations, and either there was a Mysql error message (I understood that by now, they came when I wanted to retrieve an entry in a pod that does not exist in the pod) others just stay blank.

    Thread Starter Nevrion

    (@nevrion)

    [pods name=”crew” where=”mcs.ID = {@ID}” template=”crew_mcs” orderby=”post_title” slug=”{@post_title}”]

    Now I have tried this way. Now contents are also displayed but not sorted.

    However, nothing is sorted.

    Thread Starter Nevrion

    (@nevrion)

    I really do not seem to be gifted enough for it. I’ve been trying back and forth for several hours, I’m just not capable of it.

    Thread Starter Nevrion

    (@nevrion)

    That was probably a problem of understanding on my part. Since it did not seem to work in the template, I tried it in a post.

    I am very inexperienced in this whole PHP and coding world. In addition, I have to hunt some terms through Google Translate because they are not familiar to me.

    I tried to use the shortcode in the template crew_profile. The output was empty, I assume that I basically just have problems understanding how it interlocks.

    Currently it looks like this:

    crews_profile template

    [if mcs]
    <center><ul class="mcs" >
    		[each mcs]
    	 <td hight="150" align=center><a href="{@permalink}"><img hight="150px" width="150px" src="{@mcs.post_thumbnail_url.large}" title="{@post_title}"></a></td>
    	[/each]</center>	
    [/if]

    Here, the crew members are currently displayed to me, but not in alphabetical order.

    MCs are a custom post type I have associated with the Custom Post Type crew.

    Now I tried to do the sorting with the template crew_mcs

    <ul>
    [each mcs]
    	<a href="/{@permalink,esc_url}">{@post_title}</a>
    [/each]
    </ul>

    And then try to include the shortcode in crew_profile

    [pods name=”crew” where=”mcs.ID = {@ID}” template=”crew_mcs” orderby=”post_title”]

    If I only use the shortcode, the page stays empty (which I now understand, because the shortcode does not know what value he should work with)

    [each mcs]
    [pods name=”crew” where=”mcs.ID = {@ID}” template=”crew_mcs” orderby=”post_title”]
    [/each]

    That’s why I tried to involve him so … but he also gives the wrong result because he now outputs all entries for each entry, but these are not sorted.

    I hope it is at least meaningful to understand … I translate everything with google translate because I’m very uncertain in my English gramatik.

    Many thanks for your help

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