• I have your plugin installed on a site and it was working well with old version of wordpress and your plugin old version.

    But after upgrading to wordpress 2.3.4, your old plugin was not working but after update some shortcodes are working others are not.

    The current plugin version on server is:
    2.6.1

    Here is what I am using in the page:

    *1: error in loop
    //This is an example of custom post type that I am want to search for a custom field called home_customfield and its value is 1 or True, it was working well in old version as follows:
    //[loop type=”customtype” field=”home_customfield” value=”1″ count=”2″ orderby=”home_customfield” order=”DESC”]
    //I tried that and it was not showing any results as all
    <div id=”posts”>[loop type=”customtype” checkbox=”home_customfield” value=”1″ count=”2″ orderby=”home_customfield” order=”DESC”]
    <div>[field image size=”thumb-customtype”]
    <div class=”relatedItemTitle”>[field title]</div>
    </div>
    [/loop]

    *2: error in users

    //This one should show a group of users of custom role chef, it was working on old version but on the new version, it is showing the [user name] of the logged in user not the user selected
    //[user] or [user name] or [user nickname] or [user nicename] or [user post-count] all shows the results of the logged in user while the rest shows the correct results like [user first_name] [user last_name]
    //the strange part that I got to print out the id of the user being sent, it shows the correct id but the results are not correct. The main issue in showing a custom nicename or the username in the link and also the user post count is not showing the correct results, it is always showing zero and I tried to go to a post of the user being shown and update it and still the count did not change.

    <div class=”viewport” style=”height: 250px;”>
    <div class=”overviewkingo”>[users role=”customrole” exclude=”384,428,430″]
    <div class=”mado”>
    <div class=”roundsmall” style=”margin: auto;”>[user avatar size=”250″]</div>
    <div style=”color: #eb2c2c; text-align: center; font-size: 12pt; margin-bottom: 5px;”>[user first_name] [user last_name]</div>
    <div><img class=”alignnone size-full wp-image-872″ src=”/spacer-users.png” alt=”spacer-users” width=”110″ height=”7″ /></div>
    <div><img class=”alignnone size-full wp-image-868″ src=”img.png” width=”21″ height=”34″ /> [user post-count] count</div>
    </div>
    [/users]

    Please advice as soon as possible

    https://www.ads-software.com/plugins/custom-content-shortcode/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hello,

    Thank you for the detailed description of your issue. I’ve made a number of updates based on everyone’s feedback including your use case.

    Could you tell me if the above two issues are resolved in the newest update? If not, could you tell me how the shortcodes are being loaded: are they in a post, or loaded from another shortcode or PHP?

    Thread Starter givemeahand

    (@givemeahand)

    unfortunately, I have tested the latest version and still it is not working
    and the same issues still exist.

    I am simply putting them in a page (homepage of the site) and another page and on both they are not working, no work arounds. It was working normally on the old wordpress 4.2.2 now they are not working at all.

    Please advice

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Users and loop with custom type and custom fields are no longer working’ is closed to new replies.