Plugin Directory

Changeset 1819310


Ignore:
Timestamp:
02/09/2018 07:20:51 PM (8 years ago)
Author:
pbimal
Message:

Added tags - view/edit

Location:
wp-reporter/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-reporter/trunk/includes/categories.php

    r1818474 r1819310  
    11<h2>Top level categories: <a href="edit-tags.php?taxonomy=category"><?php echo $total_categories; ?></a></h2>
     2<p>Covers top level categories only.</p>
     3
    24<table class="wp-list-table widefat">
    35    <thead>
  • wp-reporter/trunk/includes/users.php

    r1818474 r1819310  
    11<h2>Users and roles: <a href="users.php"><?php echo $users['total_users']; ?></a></h2>
     2<p>List of users.</p>
     3
    24<table class="wp-list-table widefat">
    35    <thead>
  • wp-reporter/trunk/wp-reporter.php

    r1818474 r1819310  
    2525function print_reports_page()
    2626{
    27     echo "<div class='wrap'>";
    28     echo "<h1>WP Reporter</h1>";
    29     wpreporter_report_posts();
    30     wpreporter_report_pages();
    31     wpreporter_report_comments();
    32     wpreporter_report_users();
    33     wpreporter_report_categories();
    34     echo "</div>";
     27    require_once "includes/all.php";
    3528}
    3629
     
    4841
    4942    require_once "includes/posts.php";
    50 } # report_pages()
     43}
    5144
    5245/**
     
    6356
    6457    require_once "includes/pages.php";
    65 } # report_pages()
     58}
    6659
    6760/**
     
    7265    $comments_count = wp_count_comments();
    7366    require_once "includes/pages.php";
    74 } # report_comments()
     67}
    7568
    7669/**
     
    8174    $users = count_users();
    8275    require_once "includes/users.php";
    83 } # report_users()
     76}
    8477
    8578/**
     
    9689
    9790    require_once "includes/categories.php";
    98 } # report_categories()
     91}
     92
     93/**
     94 * Report tags
     95 * @see https://codex.wordpress.org/Function_Reference/get_tags
     96 */
     97function wpreporter_report_tags()
     98{
     99    $tags = get_tags();
     100    require_once "includes/tags.php";
     101}
Note: See TracChangeset for help on using the changeset viewer.