Closed. This question needs to be more focused. It is not currently accepting answers.admin管理员组文章数量:1025779
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this questionI want to make Wordpress faster. So, instead of using multiple templates, I want to put sidebar(html
), small css file(syntax highlighter, prism.css
css content as inline directly to post, to reduce http request), small js file(syntax highlighter, prism.js
js content as inline directly to post inside <script>
</script>
to reduce http req) and two links(newer and older).
I want to store them in database, and when website get request for specific post, the query will look for wp_content
and add five meta fields stored and join them together.
I am going blank, how to do all these- the
js
andcss
files are short and will remain short numbered, 60+60 for both js and css. I want to store the css and js content inside mysql postmeta table, and want to add from Wordpress Editor page as Dropdown.Also two other custom field to put links on newer and older post link to the button.
- And sidebar content as
html
document
How to do these without plugin, and want to make my Wordpress Robust and faster, how to achieve this with .
By putting - add action()
inside function.php could achieve multiple custom field requirement, but how to store the css and js content inside postmeta field and make the drop-down to achieve, adding which particular Js
and css
, sidebar(html
) values?
Any help would be appreciated, I want detailed answer, if any method which breaks or slows Wordpress is not expected at all, better to implement anything complicated but not breaking Wordpress.
Closed. This question needs to be more focused. It is not currently accepting answers.Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this questionI want to make Wordpress faster. So, instead of using multiple templates, I want to put sidebar(html
), small css file(syntax highlighter, prism.css
css content as inline directly to post, to reduce http request), small js file(syntax highlighter, prism.js
js content as inline directly to post inside <script>
</script>
to reduce http req) and two links(newer and older).
I want to store them in database, and when website get request for specific post, the query will look for wp_content
and add five meta fields stored and join them together.
I am going blank, how to do all these- the
js
andcss
files are short and will remain short numbered, 60+60 for both js and css. I want to store the css and js content inside mysql postmeta table, and want to add from Wordpress Editor page as Dropdown.Also two other custom field to put links on newer and older post link to the button.
- And sidebar content as
html
document
How to do these without plugin, and want to make my Wordpress Robust and faster, how to achieve this with .
By putting - add action()
inside function.php could achieve multiple custom field requirement, but how to store the css and js content inside postmeta field and make the drop-down to achieve, adding which particular Js
and css
, sidebar(html
) values?
Any help would be appreciated, I want detailed answer, if any method which breaks or slows Wordpress is not expected at all, better to implement anything complicated but not breaking Wordpress.
本文标签: phpStore multiple custom field as post meta per post(cssJSHTML2 link)
版权声明:本文标题:php - Store multiple custom field as post meta per post(css, js, html, 2 link) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1742369248a1952602.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论