Custom Post Type Label in Frontend Submission Form

Support MB Frontend Submission Custom Post Type Label in Frontend Submission FormResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24154
    vikasgautam1970@gmail.com[email protected]
    Participant

    I am able to create the frontend submission forms with the frontend submission plugin. It is working perfect and I am able to ADD, EDIT AND Delete posts/custom posts. Many thanks for this great plugin.

    But I want that in the dashboard instead of word Posts, label or name of the custom post type is displayed. For example, at present it is displayed as "You have 4 posts". Now, if the CPT is events, it should display "You have 4 Events". I know that the code is coming from dashboard.php. But I don't know how to modify the code.
    Screenshot-1 dashboard.php
    https://drive.google.com/file/d/1PSjCd7c91PeIbcIBUqBSbusypBndsGen/view?usp=sharing
    Scheenshot of Dashboard at frontend
    https://drive.google.com/file/d/19_c4dvhFAlWV43w2cqiI4arwEIcvxIPQ/view?usp=sharing

    #24155
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The text is located in the file /src/Dashboard.php line 71. But modifying the code directly is not encouraged because it will be removed when updating the plugin.

    I will create a feature request to support showing the post type on the welcome message.

    Thank you.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.