Plug-in auto readmore for bo-blog

4 103

Thông thường khi viết bài trên bo-blog nếu bạn muốn hiển thị một phần bài viết bên ngoài trang chủ bạn thường phải chèn thêm dấu ngắt [ separator] vào bài viết, việc này nhiều khi rất bất tiện và làm cho độ dài mỗi bài viết của bạn khi hiển thị ngoài trang chủ khác nhau dẫn đến chiều cao của mỗi trang chênh lệch nhau thì thật là khó chịu, và thiếu chuyên nghiệp :puke: .
Đó chính là lý do để mình viết plug-in auto readmore nhầm tự động hóa công việc này.
Giới thiệu đôi nét về plugin auto readmore for bo-blog
– Tự động lấy một phần nội dung bài viết (theo số lượng từ do bạn quy định) để tạo phần rút gọn bên ngoài trang chính kèm theo ảnh thu nhỏ ( bức ảnh đầu tiên trong bài viết của bạn sẽ được lấy làm ảnh thu nhỏ).
– Plug-in được trang bị tính năng quản lý ngay trên web nên bạn có thể dễ dàng thay đổi thiết lập (như về số từ, sử dụng ảnh thu nhỏ hay không, kích thước và vị trí xuất hiện của ảnh thu nhỏ) cho plug-in mà không phải chỉnh sửa trực tiếp vào mã nguồn

Đã có phiên bản 2 với nhiều cải tiến xem tại đây
Download auto readmore ver 1.0
Download here
Hướng dẫn sử dụng plug-in và một số lưu ý
– Sau khi download và cài đặt xong plug-in hệ thống sẽ sử dụng các thiết lập mặc định nhưng bạn có thể vào phần quản lý để thiết lập lại cho phù hợp với giao diện và sở thích của bạn.

– Đường dẫn ảnh mặc định: là đường dẫn đến ảnh sẽ được làm ảnh thu nhỏ khi bài viết của bạn không có chèn ảnh.
– Nếu bài viết của bạn có chèn dấu ngắt [ separator] trước số từ quy định thì đoạn rút gọn sẽ được ngắt từ đầu bài viết tới dấu ngắt, nếu không có dấu ngắt hoặc ngắt nằm sau số từ thì đoạn trích dẫn được ngắt từ đầu đến số từ.
– Do plug-in được thiết kế dùng cho các link ảnh nằm bên ngoài trang web do đó đôi khi ảnh thu nhỏ hiển thị không đẹp mắt lắm vì ảnh luôn được resize lại theo tỉ lệ cố định.
Đây là lần đầu tiên mình share code cho bo-blog với dạng plug-in nên chắc chắn sẽ có một số thiếu sót rất mong nhận được ý kiến đóng góp có các bạn để plug-in được hoàn thiện một cách tốt nhất.

4 Comments
  1. Leozorse says

    Hi to all, how is all, I think every one is getting more from this web page, and your views are good in support of new people.
    Access to communication tools, messaging, the ability to view profiles anonymously and see who’s viewed your profile and unlimited matches, with free and paid versions, according to the company http://www.royaldirectory.populardirectory.org/IW_296269.html Una rassegna di dating

    @eerwq

  2. Cooperzorse says

    Attraverso il restante, puoi premere sull’opzione Impostazioni sulla privacy, presente su a destra, Secondo preporre Riserva il opera può suggerirti amici nato da amici ovvero risposta negativa. https://stroy-stroyka.ru/stroitelnye-brigady/1728-balkon-lodzhiya-terrasa-zimnij-sad-steklyannye-i-kompozitnye-fasadnye-paneli-montazh-okon-i-krovli-pod-klyuch-a-takzhe-pod-kdyuch-dizajn-i-inter-er.html

    If you’ve never tried, now is the perfect time to log on. More than 10 years since the launch of Tinder, which redefined relationships for a whole generation, the range of dating apps has never been bigger – or more specialised. https://webguiding.1directory.org/OC_245008.html

    В The site hosts regular events for mature singles Durante your area, where you can meet likeminded people. Feeling shy? You can bring up to three friends with you for moral support. https://westindianpeeps.com/blog/53423/dirty-facts-about-hot-dates-with-women-revealed/

    Cliccando sull’ingranaggio in alto a dritta si possono selezionare o deselezionare a lei eventi che interesse. https://westindianpeeps.com/blog/55126/this-article-will-make-your-hot-dates-with-women-amazing-read-or-miss-out/

    Firstly, it protects your privacy – you can use an alias and keep your photos hidden or blurred until a later date, so there’s no danger of friends or family stumbling across your profile. https://www.directory3.org/details.php?id=325625

    Una funzionalitГ  interessante oggi su Facebook Dating ГЁ quella relativa alle passioni segrete, i quali ti consente nato da inserire fino a un eccelso intorno a 9 amici intorno a Facebook se no follower Per una cerchia ristretta su Dating. https://www.addgoodsites.com/details.php?id=530285

    Limited functionality for free users (e.g., only eight free “likes” per day) Voto negativo desktop version May run into users who are only interested in being Per mezzo di a serious relationship Slower paced than rival apps like Tinder https://www.gowwwlist.1directory.org/VJ_232268.html

    Colpa, female and nonbinary gender options are available upon sign-up, with the ability to add further details pertaining to gender Durante your profile https://www.freeseolink.free-weblink.com/VE_309008.html

    Potrebbe esistere un po’ disorientante la Inizialmente Piega che quello usi, tuttavia Per questa scorta troverai una precisazione Secondo interamente. https://www.free-weblink.com/EI_162838.html

    Lo speed dating online, discordemente a motivo di colui classico, si pratica nelle community e nei siti web cosa mettono pronto delle piattaforme tra videochat, tramite le quali gli utenti si incontrano e parlano da l’ausilio delle webcam. https://www.fire-directory.com/NM_406474.html

    Diritto tutto e guarda il televisione: in questo lemma troverai tutte le risposte a queste ed altre domande sulla notizia App proveniente da Facebook. https://www.bedirectory.com/SF_333027.html

    eharmony has been around for more than 20 years, creating more than 2 million relationships in over 125 countries, according to the company. Whether you choose to use the free version or opt for the paid subscription route, eharmony offers access to millions of singles, unlimited matches, use of all communication tools (such as Smiles, Icebreakers and Likes) and messaging capabilities for all users. If you choose to register for a paid subscription, you also have access to features such as viewing unlimited photos and the ability to distance search. https://www.onecooldir.com/details.php?id=231830

    On a website that can lean more relationship-oriented, it’s still simple to find people looking for the same casual connection as you. https://www.familydir.com/EQ_424143.html

    Whether you want to pay for a hookup app is totally up to you, but we will say Tinder and Hinge have great free versions. You can likely find a hookup by the weekend without paying a cent.
    Le persone il quale aggiungi quanto Patimento segreta non vengono informate. Lo potete denudare solo Condizione ambedue vi siete dichiarati “dolore segreta”. https://www.bestbuydir.com/TA_343515.html Una chiave semplice per dating Unveiled

    @eerwq

  3. DavidSut says

    Dex Sniper Bot is your 24/7 trading companion, tirelessly analyzing market data and executing trades at optimal moments. Take a step towards a smarter, more profitable crypto trading experience.

    Detect Liquidity Pool
    Profit Tracking
    Instant Buy
    Instant Sell

    Don’t get left behind. Load up before the huge next cycle.

    Bot supports SOL/BSC/ETH chains.

    https://dexsniperbot.com
    https://t.me/chainsdev on Telegram
    Skype : congmmo

    Tags: dexsniperbot,dex sniper bot,bsc sniper bot,eth sniper bot,ethereum sniper bot,liquidity sniper bot,sonata sniper bot,sniper bot uniswap,sniper bot bsc,uniswapbot,pancakeswapbot,solbot

  4. Jeremiahzorse says

    Hmm it seems like your website ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to everything. Do you have any recommendations for novice blog writers? I’d genuinely appreciate it.
    look also at my pages and give a rating

    XEvil is a simple, speedy and handy method for completely automatic recognition and bypass with the overwhelming majority of captchas (CAPTCHAs), without the want to connect any 3rd-occasion expert services.

    The program Practically wholly replaces expert services which include AntiGate (Anti-Captcha), RuCaptcha, DeCaptcher and Other individuals. Simultaneously, it appreciably exceeds them in recognition speed (10 situations or even more) and is totally absolutely free.

    https://online-learning-initiative.org/wiki/index.php/User:Joie563414 speed index google pagespeed
    http://gogotire.co.kr/bbs/board.php?bo_table=free&wr_id=114608 speedyindex google chrome

    @d@=

Leave A Reply

Your email address will not be published.