gglstmp_custom_links_block

The Google Sitemap by BestWebSoft gglstmp custom links block function.

Description

gglstmp_custom_links_block(); 

Usage

  1. if ( !function_exists( 'gglstmp_custom_links_block' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-sitemap-by-bestwebsoft/includes/pro_banners.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gglstmp_custom_links_block(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/pro_banners.php  
  1. function gglstmp_custom_links_block() { 
  2. $date = date_i18n( get_option( 'date_format' ), 1458086400 ); ?> 
  3.  
  4. <p class="search-box"> 
  5. <input type="search" disabled="disabled"/> 
  6. <input class="button" value="<?php _e( 'Search' ); ?>" type="submit" disabled="disabled" /> 
  7. </p> 
  8. <div class="alignleft actions bulkactions"> 
  9. <select disabled="disabled"> 
  10. <option value="-1"><?php _e( 'Bulk Actions' ); ?></option> 
  11. </select> 
  12. <input disabled="disabled" class="button action" value="<?php _e( 'Apply' ); ?>" type="submit"> 
  13. </div> 
  14.  
  15. <table class="wp-list-table widefat fixed striped links"> 
  16. <thead> 
  17. <tr> 
  18. <th id="cb" class="manage-column column-cb check-column"><input id="cb-select-all" type="checkbox" disabled="disabled" /></th> 
  19. <th scope="col" id="url" class="manage-column column-url column-primary sortable asc">URL</th> 
  20. <th scope="col" id="priority" class="manage-column column-priority sortable desc"><?php _e( 'Priority', 'google-sitemap-plugin' ); ?></th> 
  21. <th scope="col" id="frequency" class="manage-column column-frequency"><?php _e( 'Change Frequency', 'google-sitemap-plugin' ); ?></th> 
  22. <th scope="col" id="date" class="manage-column column-date sortable desc"><?php _e( 'Last Changed', 'google-sitemap-plugin' ); ?></th> 
  23. </tr> 
  24. </thead> 
  25.  
  26. <tbody id="the-list" data-wp-lists="list:link"> 
  27. <tr style="overflow: visible;"> 
  28. <th scope="row" class="check-column"> 
  29. <div class="bws_help_box bws_help_box_left dashicons dashicons-editor-help" style="vertical-align: middle;margin-left: 6px;position:relative;z-index: 2;"> 
  30. <div class="bws_hidden_help_text" style="min-width: 200px;"> 
  31. <strong><?php _e( "Please note", "google-sitemap-plugin" ); ?>:</strong> 
  32. <?php _e( "All URLs listed in the sitemap.xml must use the same protocol ( HTTP or HTTPS ) and reside on the same host as the sitemap.xml. For more info see", "google-sitemap-plugin" ); ?> <a href="http://www.sitemaps.org/protocol.html#location" target="_blank"><?php _e( "here", "google-sitemap-plugin" ); ?></a>. 
  33. </div> 
  34. </div> 
  35. </th> 
  36. <td class="url column-url has-row-actions column-primary" data-colname="URL"><input type="url" style="width: 100%; box-sizing: border-box;" disabled="disabled" /></td> 
  37. <td class="priority column-priority" data-colname="Priority"><input class="small-text" value="100" type="number" disabled="disabled" /> %</td> 
  38. <td class="frequency column-frequency" data-colname="Change Frequency"> 
  39. <select disabled="disabled" > 
  40. <option value="always"><?php _e( "Always", "google-sitemap-plugin" ); ?></option> 
  41. </select> 
  42. </td> 
  43. <td class="date column-date" data-colname="Last Changed"> 
  44. <input class="button button-primary" value="<?php _e( "Save link", "google-sitemap-plugin" ); ?>" type="submit" disabled="disabled" /> 
  45. </td> 
  46. </tr> 
  47.  
  48. <tr> 
  49. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  50. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/lorem/ipsum/dolor/sit/amet</td> 
  51. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  52. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  53. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  54. </tr> 
  55.  
  56. <tr> 
  57. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  58. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/donec-fringilla</td> 
  59. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  60. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  61. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  62. </tr> 
  63.  
  64. <tr> 
  65. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  66. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/lorem-ipsum</td> 
  67. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  68. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  69. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  70. </tr> 
  71.  
  72. <tr> 
  73. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  74. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/?s_id=123&p_id=2</td> 
  75. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  76. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  77. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  78. </tr> 
  79. </tbody> 
  80.  
  81. <tfoot> 
  82. <tr> 
  83. <th class="manage-column column-cb check-column"><input id="cb-select-all-2" type="checkbox" disabled="disabled" /></th> 
  84. <th scope="col" class="manage-column column-url column-primary sortable asc">URL</th> 
  85. <th scope="col" class="manage-column column-priority sortable desc"><?php _e( 'Priority', 'google-sitemap-plugin' ); ?></th> 
  86. <th scope="col" class="manage-column column-frequency"><?php _e( 'Change Frequency', 'google-sitemap-plugin' ); ?></th> 
  87. <th scope="col" class="manage-column column-date sortable desc"><?php _e( 'Last Changed', 'google-sitemap-plugin' ); ?></th> 
  88. </tr> 
  89. </tfoot> 
  90.  
  91. </table> 
  92. <?php }