-
-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加Steam库模板 #1038
base: canary
Are you sure you want to change the base?
添加Steam库模板 #1038
Conversation
@bymoye 来看看有没有要优化的 |
这个head这样写真的可以吗 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请参考其余模板,使用REST API形式。
相关REST API开放出来是为了什么别的用途嘛 |
<meta name="referrer" content="same-origin"> | ||
<style> | ||
.comments { | ||
display: none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
尽可能不依赖css样式来禁用评论区,可以看看有没有相应的WP函数,或者WP内置的功能(好像页面默认是没有评论区的
max-width:1280px; | ||
} | ||
|
||
.row { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
过于简单的css规则可能会和别的地方冲突
<article <?php post_class("post-item"); ?>> | ||
<?php the_content( '', true ); ?> | ||
<section class="steamlibrary"> | ||
<div class="row"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果.row只在这里使用的话,它的样式应该可以完全并到.steamlibrary中
No description provided.