- 为 WordPress 网站创建响应式标头更好用 -
float
orflex
orgrid
orbootstrap
? - 是否可以创建一个由两部分组成的菜单,其中一个向左(一个菜单项),另一个向右(所有其他菜单项),使用
float: left
(对于左侧的部分)和float: right
(对于右边的部分)?(请提供初始位置的html代码:一个菜单项,一个中间部分和其余菜单项-指示对齐技术的菜单框架)。 - (给出一个示例代码,以便在缩小屏幕尺寸时,将右边的菜单部分转移到下一行,以及原来的位置)。
vladdv861 dvin's questions
我根据站点https://ipipe.ru/info/ustanovka-wordpress-na-openserver安装了 wordpress ,然后想使用 underscores.me,我在其上输入 worldelectronics 并按下生成按钮(结果,请求似乎覆盖了wordpress文件)。打开创建的站点 worldelectronics.ru 后,浏览器中出现错误消息
Fatal error: Uncaught Error: Call to undefined function get_header() in C:\OSPanel\domains\worldelectronics.ru\index.php:15 Stack trace: #0 {main} thrown in C:\OSPanel\domains\worldelectronics.ru\index.php on line 15
下面是 index.php 文件
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WorldElectronics
*/
get_header();
?>
<main id="primary" class="site-main">
<?php
if ( have_posts() ) :
if ( is_home() && ! is_front_page() ) :
?>
<header>
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
</header>
<?php
endif;
/* Start the Loop */
while ( have_posts() ) :
the_post();
/*
* Include the Post-Type-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Type name) and that will be used instead.
*/
get_template_part( 'template-parts/content', get_post_type() );
endwhile;
the_posts_navigation();
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</main><!-- #main -->
<?php
get_sidebar();
get_footer();
告诉我如何实现worldelectronics主题网站主页的输出,取自网站underscores.me。
从https://ipipe.ru/info/ustanovka-wordpress-na-openserver判断,我得出的结论是 wordpress 是为每个站点分别安装在不同站点上的,即 在每个文件夹中(对于所有站点)都应该有来自 wordpress 文件夹的文件。如果不是这种情况,请提供一个页面,同时解释所有站点的一次性安装。
- 如何在 Photoshop 中放大图像(使用哪些菜单项和热键)?
- 如果路径没有完全最终选择,如何取消选择磁性套索?(无法访问菜单项 - 直到循环关闭)
从 13:00 到 13:40观看了https://www.youtube.com/watch?v=URFhyvZTENc&list=PL3LQJkGQtzc6Nwz67GGrMdqxim1c0H5DC&index=2并且不明白从 13:15 到 13:20 截屏是在哪个程序中创建的?我如何(在 win 7 上)从https://www.styleshout.com/free-templates/sparrow/的麻雀模板的 html 文件 index.html 截取屏幕截图?
在互联网上找到https://skillbox.ru/media/code/frontend_i_backend_razrabotka/:
后端开发是一套实现站点逻辑的硬件和软件工具。简而言之,这是隐藏在用户眼中并发生在他的浏览器和计算机之外的事情。例如,当您在搜索引擎页面上输入查询并按 Enter 键时,前端结束,后端开始。您的请求将发送到搜索算法所在的 Google 或 Yandex 服务器。这就是所有“魔法”发生的地方。一旦您要查找的信息出现在监视器上,您就会再次返回前端区域。
还找到了https://tproger.ru/translations/backend-web-development/。综上所述,我了解到后端包括以下内容:
- 处理传递给搜索字符串的请求;
- 使用数据库;
- 使用邮件列表
由于我是初学者,请提供更多包含在后端(服务器部分)中的操作,因为我只引用了 3 件事。