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. <table class="wp-list-table widefat fixed striped links"> 
  15. <thead> 
  16. <tr> 
  17. <th id="cb" class="manage-column column-cb check-column"><input id="cb-select-all" type="checkbox" disabled="disabled" /></th> 
  18. <th scope="col" id="url" class="manage-column column-url column-primary sortable asc">URL</th> 
  19. <th scope="col" id="priority" class="manage-column column-priority sortable desc"><?php _e( 'Priority', 'google-sitemap-plugin' ); ?></th> 
  20. <th scope="col" id="frequency" class="manage-column column-frequency"><?php _e( 'Change Frequency', 'google-sitemap-plugin' ); ?></th> 
  21. <th scope="col" id="date" class="manage-column column-date sortable desc"><?php _e( 'Last Changed', 'google-sitemap-plugin' ); ?></th> 
  22. </tr> 
  23. </thead> 
  24. <tbody data-wp-lists="list:link"> 
  25. <tr style="overflow: visible;"> 
  26. <th scope="row" class="check-column"></th> 
  27. <td class="url column-url has-row-actions column-primary" data-colname="URL"> 
  28. <input type="url" style="width: 100%; box-sizing: border-box;" disabled="disabled" /> 
  29. <div class="bws_info"> 
  30. <strong><?php _e( "Please note", "google-sitemap-plugin" ); ?>:</strong> 
  31. <?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>. 
  32. </div> 
  33. </td> 
  34. <td class="priority column-priority" data-colname="Priority"><input class="small-text" value="100" type="number" disabled="disabled" /> %</td> 
  35. <td class="frequency column-frequency" data-colname="Change Frequency"> 
  36. <select disabled="disabled" > 
  37. <option value="always"><?php _e( "Always", "google-sitemap-plugin" ); ?></option> 
  38. </select> 
  39. </td> 
  40. <td class="date column-date" data-colname="Last Changed"> 
  41. <input class="button button-primary" value="<?php _e( "Save", "google-sitemap-plugin" ); ?>" type="submit" disabled="disabled" /> 
  42. </td> 
  43. </tr> 
  44. <tr> 
  45. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  46. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/lorem/ipsum/dolor/sit/amet</td> 
  47. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  48. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  49. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  50. </tr> 
  51. <tr> 
  52. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  53. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/donec-fringilla</td> 
  54. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  55. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  56. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  57. </tr> 
  58. <tr> 
  59. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  60. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/lorem-ipsum</td> 
  61. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  62. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  63. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  64. </tr> 
  65.  
  66. <tr> 
  67. <th scope="row" class="check-column"><input type="checkbox" disabled="disabled" /></th> 
  68. <td class="url column-url has-row-actions column-primary" data-colname="URL">http://example.com/?s_id=123&p_id=2</td> 
  69. <td class="priority column-priority" data-colname="Priority">100 %</td> 
  70. <td class="frequency column-frequency" data-colname="Change Frequency"><?php _e( 'Monthly', 'google-sitemap-plugin' ); ?></td> 
  71. <td class="date column-date" data-colname="Last Changed"><?php echo $date; ?></td> 
  72. </tr> 
  73. </tbody> 
  74. <tfoot> 
  75. <tr> 
  76. <th class="manage-column column-cb check-column"><input id="cb-select-all-2" type="checkbox" disabled="disabled" /></th> 
  77. <th scope="col" class="manage-column column-url column-primary sortable asc">URL</th> 
  78. <th scope="col" class="manage-column column-priority sortable desc"><?php _e( 'Priority', 'google-sitemap-plugin' ); ?></th> 
  79. <th scope="col" class="manage-column column-frequency"><?php _e( 'Change Frequency', 'google-sitemap-plugin' ); ?></th> 
  80. <th scope="col" class="manage-column column-date sortable desc"><?php _e( 'Last Changed', 'google-sitemap-plugin' ); ?></th> 
  81. </tr> 
  82. </tfoot> 
  83. </table> 
  84. <?php }