简体   繁体   English

可以将Wordpress插件转换为可在非WP网站上使用吗?

[英]Can a Wordpress Plugin be Converted For Use On Non WP Website?

I want to be able to validate SEO rules on a html form. 我希望能够在html表单上验证SEO规则。 Eg Check keyword is in title, images have alt tags etc. Wordpress has a brilliant tool for this(Yoast SEO for Wordpress), but i checked the website and they dont have a standalone download. 例如,Check关键字在标题中,图像具有alt标签等。Wordpress为此提供了一个出色的工具(Yoast SEO for Wordpress),但是我检查了网站,但没有独立下载。 I also cant find any tool to do this elsewhere so before i write it myself i want to see if i can pull it from this plugin. 我也找不到在其他地方执行此操作的任何工具,因此在我自己编写它之前,我想看看是否可以从此插件中提取它。

All i need is the jquery side of this tool (I just want it as a guideline not as a requirement). 我需要的只是此工具的jquery方面(我只是希望将其作为准则而不是必要条件)。

I have been able to get all of the Javascript and css files by looking at the page source from a Wordpress site, but there is a lot of other stuff within the page including 126 refrences to "seo" so its going to be a big job to extract all of the information that i need. 通过查看来自Wordpress网站的页面源代码,我已经能够获取所有Javascript和CSS文件,但是页面中还有很多其他内容,包括126个对“ seo”的引用,因此这将是一项艰巨的工作提取我需要的所有信息。

yes it can be converted to be used on any php website, but you need to change things in that plugin according to the Non WP sites so that it can be used on Non WP sites. 是的,可以将其转换为可在任何php网站上使用,但是您需要根据Non WP网站更改该插件中的内容,以便可以在Non WP网站上使用。 You also need to find substitute functions for that plugin for the functions that are wordpress specific. 您还需要为该插件找到替代功能,以替换特定于wordpress的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM