Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: archive plugin is only beta #279141
    MacStainless
    Participant

    I know this thread is six years old but THANK YOU 1manfactory for posting this! This is exactly what I’m looking for. I don’t want to use a frame, I want to have links that simply open a newsletter in a new tab. This is what I needed.

    in reply to: displaying the count of subscribers on a website #278266
    MacStainless
    Participant

    For anyone looking for this, it took me a while to figure out. Why this is not offered as a simple API call is weird. However, you can do this with the following PHP query:


    $get = $wpdb->get_results(" SELECT * FROM ".$wpdb->prefix."newsletter WHERE status='C' ");
    echo count ($get);

    This queries the Newsletter database and only returns Confirmed subscribers. Then the count line gives you the total array size.

    Use a wordpress plugin like XYZ PHP Code to convert that PHP into a usable shortcode. Once you have that done, use the shortcode anywhere you want within your WP site.

    in reply to: Plugin not found #274980
    MacStainless
    Participant

    That did it. The update took this time. FYI it still says plugin not found when I view the details on the plugins page. So there may be more to this. Thank you.

    in reply to: Plugin not found #274977
    MacStainless
    Participant

    I’m getting the same thing. WP Users plugin will not update and I get the Not Found information when I try to view the plugin’s details. I have removed and reinstalled the plugin and that doesn’t resolve the issue.

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