Created
September 4, 2015 14:24
-
-
Save nguyenvanduocit/3b4e801b6a0a4889bd0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function admin_page_content(){?> | |
<div class="wrap"> | |
<h1>Regenerate Thumbnail</h1> | |
<form action=""> | |
<p>Khi bạn click vào link dưới đây, tất cả các file thumbnail và các file ảnh đá được resize theo các size mà theme ( đang được active ) đã đăng ký với WordPress đều sẽ bị regenerate. Bất cứ lúc nào bạn muốn dừng lại, đều có thể ấn vào button "Dừng lại"</p> | |
<div id="regenerateStatus"> | |
<p> <span id="statusString">Đang xử lý</span> : <span id="processed">2</span>/<span id="total">10</span> files</p> | |
</div> | |
<p class="submit"><button type="submit" name="submit" id="startStopRegenerate" class="button button-primary">Bắt đầu</button></p> | |
</form> | |
</div> | |
<?php } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment