WordPress精选免费主题(不输收费主题)

84次阅读
没有评论

最近又在重新折腾 Wordpress 博客,挑选一个好用的主题是必须的步骤。从 github 和 gitee 中精选了一些主题。

页面设计、功能特性等方面每个人都不一样,我们比较一下主题的最近更新时间(是不是一直在维护)、star 人数(一定程度上反映主题使用人数和主题质量)、贡献者人数等指标。

开源优质主题列表

这些主题应该都是国内开发者制作的,支持中文,适合国情,适合国人使用。

直接上对比表格:(截止 2023.9,按最近更新时间倒序排列),建议选择 2023 年仍有更新的主题,作者一直在维护和更新。

主题地址 演示地址 最近更新时间 star 贡献者人数 commit
GitHub – Licoy/wordpress-theme-puock: :art: 一款基于 WordPress 开发的高颜值的自适应主题,支持白天与黑夜模式 / 无刷新加载 / 第三方登录等众多功能 A high-value adaptive theme based on WordPress, supports light and dark modes, no refresh loading, etc. 憧憬点滴记忆 – Licoy’s Blog 关注互联网及软件 IT 技术的个人博客 2023-08-29T05:41:45Z 1.8k 10 564
GitHub – seatonjiang/kratos: 📖 WordPress theme that focus on reading experience 笨猫博客 – 关注互联网,生活,音乐,乐此不疲的一只笨猫 2023-08-25T08:49:21Z 2.9k 9 434
GitHub – saresam/Asky: 一款 WordPress 主题,名字 Asky,原作者:keith (skyarea.cn),我只是稍作修改,修改后的演示,请点击:https://peanoo.com Peanut 酱 2023-08-16T03:10:36Z 33 未获取到数据 40
GitHub – zhuige-com/jiangqie_theme: 酱茄 Free 主题由酱茄(www.jiangqie.com)开发的一款免费开源的 WordPress 主题,主题专为 WordPress 博客、资讯、自媒体网站而设计。 酱茄 Free 主题 – 免费开源 WordPress 资讯主题下载 - 酱茄 WordPress 小程序源码 2023-08-11T03:35:06Z 116 未获取到数据 55
GitHub – solstice23/argon-theme: 📖 Argon – 一个轻盈、简洁的 WordPress 主题 solstice23 – Blog 2023-07-19T03:56:16Z 3.7k 19 636
GitHub – limileo/L-Talk: 一个专为设计师与开发者定制的 Wordpress 轻量主题 Limi_里米先生 – Design Code/UI/UX/WEB Designer. 2023-06-23T06:54:19Z 64 未获取到数据 31
GitHub – mashirozx/sakura: A Wonderful WordPress Theme: 樱花庄的白猫博客主题 樱花庄的白猫 ねこ・しろ・ましろ 2023-02-07T02:55:36Z 3.2k 15 318
GitHub – yrccondor/mdx: MDx – Material Design WordPress Theme 无垠 – 飞翔的天空无限大 2023-01-22T00:41:40Z 960 18 954
GitHub – bigfa/Sulli: 👩 Flat blog theme Fatesinger – This is my zine. I write about shit I care about. 2022-07-27T04:02:19Z 24 未获取到数据 24
GitHub – LoeiFy/Diaspora: Diaspora – A WordPress theme isujin.com 2022-02-24T15:00:01Z 1.2k 6 210
GitHub – faganer/info: A WordPress theme. WordPress 主题:Info 主题 下载,开源免费 – WPMore 2022-01-18T03:27:25Z 9 未获取到数据 13
GitHub – ShawnZeng1996/Memory: A theme for wordpress. 拾光记 2021-10-29T05:23:29Z 316 3 116
GitHub – Tokinx/Adams: A set of simple and lightweight themes for WordPress 设计笔记 – 无限进步 2021-10-26T07:59:54Z 726 9 132
git: WordPress 主题:Git Git: 一款比付费主题更像是付费主题的 WordPress 免费主题 – 极客公园 2021 年 10 月 07 日 266
GitHub – ghboke/CorePressWPTheme: CorePress 主题,一款高性能,高颜值的 WordPress 主题 lovestu – 代码路上雾茫茫 2021-03-11T03:22:09Z 802 未获取到数据 11
GitHub – yqchilde/rebirth: 简约优雅响应式 WordPress 主题 程序员 YY 的开发历程 2021-01-16T08:04:57Z 110 未获取到数据 61
GitHub – syfxlin/origami: Origami 一个拥有许多强大功能,简洁,轻快的 WordPress 主题 青空之蓝 2020-08-05T04:05:40Z 380 4 178
GitHub – baomihuahua/boxmoe-dove-: 盒子萌鸽子版 WordPress 主题 盒子萌 – 一个基于内容分享, 创作与灵感结合折腾的笔记博客 2020-07-10T10:29:01Z 144 未获取到数据 31
GitHub – censujiang/Mokore: 🎉Wordpress 二次元简约个人博客主题 by 江程训 无法访问 2019-04-05T10:14:08Z 378 未获取到数据 26

数据抓取脚本

Selenium 用法参考 Python Selenium 从入门到精通(建议收藏)– 最美 Lily-bestoflily

"""
selenium 要使用 3.x 版本
"""
# coding=utf-8
import json

from time import sleep
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait as Wait
from selenium.webdriver.support import expected_conditions as Expect
from selenium.webdriver.common.by import By

options = webdriver.ChromeOptions()
# options.add_argument("--kiosk") # 加载启动项页面全屏效果,相当于 F11
options.add_argument('--no-sandbox')  # 解决 DevToolsActivePort 文件不存在的报错
options.add_argument('--disable-gpu')  # 谷歌文档提到需要加上这个属性来规避 bug
options.add_argument('lang=zh_CN')

options.add_argument('--proxy-server=127.0.0.1:7890')
options.add_argument('--headless')  # 添加该参数,避免使用 windows 任务计划自动执行测试时,任务所属的用户未登录状态,否则该用户没有 desktop,会导致窗口浏览器最大化不起作用
options.add_argument('window-size=1920x1080')  # 指定浏览器分辨率 等效于 driver.set_window_size(width=1920, height=1080) # 添加这个后,windows 按计划任务运行时也会打开浏览器,解决按计划自动运行任务时,浏览器截图不全问题
# options.add_argument("--disable-3d-apis")
options.add_experimental_option("excludeSwitches", ['enable-automation'])  # # 开启管理者模式 #禁止谷歌弹出正在被自动化软件控制消息

options.binary_location = "/Applications/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing"
browser = webdriver.Chrome(
    executable_path='/Users/raymon/soft/mac/chromedriver-mac-arm64/chromedriver',
    options=options)

github_url = 'https://github.com'
proxies = {"http": "socks5://127.0.0.1:7890", "https": "socks5://127.0.0.1:7890"}
keyword = 'chaos engineering'

def get_repo_detail(repo_url):
    """
    :param repo_url:
    """
    browser.get(repo_url)
    Wait(browser, 10).until(Expect.text_to_be_present_in_element((By.XPATH, '/html/body'), 'commits'))
    repo = {}
    repo['star'] = browser.find_element_by_id('repo-stars-counter-star').text
    contributors = browser.find_elements_by_xpath('//div/h2/a')
    try:
        repo['contributor'] = \
        [c.text.replace('Contributors\n', '') for c in contributors if c.text.find('Contributor') >= 0][0]
    except:
        repo['contributor'] = ' 未获取到数据 '
    repo['commit'] = browser.find_element_by_xpath('//ul/li/a/span/strong').text
    repo['last_commit_time'] = browser.find_element_by_xpath('//a[2]/relative-time').get_attribute('datetime')
    return repo

def get_title(url):
    try:
        browser.get(url)
        return browser.title
    except Exception as e:
        return ' 无法访问 '

# print(get_title('https://github.com/tonik/theme'))

def output_info(repo_url, demo_url):
    repo = get_repo_detail(repo_url)
    message = f"""| [{get_title(repo_url)}]({repo_url})  | [{get_title(demo_url)}]({demo_url}) | {repo['last_commit_time']} | {repo['star']}  | {repo['contributor']}  | {repo['commit']}  |"""
    print(message)
    return message

# print(get_repo_detail('https://github.com/seatonjiang/kratos'))

if __name__ == '__main__':
    subjects = [('https://github.com/ghboke/CorePressWPTheme', 'https://www.lovestu.com/'),
        ('https://github.com/mashirozx/Sakura', 'https://2heng.xin/'),
        ('https://github.com/ShawnZeng1996/Memory', 'https://shawnzeng.com/'),
        ('https://github.com/seatonjiang/kratos', 'https://www.nbmao.com/'),
        ('https://github.com/baomihuahua/boxmoe-dove-', 'https://www.boxmoe.com/'),
        ('https://github.com/saresam/Asky', 'https://peanoo.com/'),
        ('https://github.com/solstice23/argon-theme', 'https://blog.s23.moe/'),
        ('https://github.com/Licoy/wordpress-theme-puock', 'https://licoy.cn/'),
        ('https://github.com/zhuige-com/jiangqie_theme', 'https://xcx.jiangqie.com/'),
        ('https://github.com/syfxlin/origami', 'https://blog.ixk.me/'),
        ('https://github.com/censujiang/Mokore', 'https://mokore.dfjcx.cn/'),
        ('https://github.com/faganer/info', 'https://wpmore.cn/wordpress-theme-info.html'),
        ('https://github.com/Tokinx/Adams', 'https://biji.io/'),
        ('https://github.com/yrccondor/mdx', 'https://flyhigher.top/'),
        ('https://github.com/limileo/L-Talk', 'https://blog.limiabc.com/'),
        ('https://github.com/LoeiFy/Diaspora', 'https://isujin.com/'),
        ('https://github.com/yqchilde/rebirth', 'https://yqqy.top/'),
        ('https://github.com/bigfa/Sulli', 'https://fatesinger.com/')
    ]
    # output_info('https://github.com/seatonjiang/kratos', 'https://www.nbmao.com/')
    for r, d in subjects:
        output_info(r, d)

参考来源

最全免费的开源 WordPress 主题汇总 (超详细) – 知乎

正文完
 
评论(没有评论)