RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / user-374286

vladdv861 dvin's questions

Martin Hope
vladdv861 dvin
Asked: 2020-09-09 15:26:45 +0000 UTC

创建响应式 WordPress 标头

  • 0
  1. 为 WordPress 网站创建响应式标头更好用 - floator flexor gridor bootstrap?
  2. 是否可以创建一个由两部分组成的菜单,其中一个向左(一个菜单项),另一个向右(所有其他菜单项),使用float: left(对于左侧的部分)和float: right(对于右边的部分)?(请提供初始位置的html代码:一个菜单项,一个中间部分和其余菜单项-指示对齐技术的菜单框架)。
  3. (给出一个示例代码,以便在缩小屏幕尺寸时,将右边的菜单部分转移到下一行,以及原来的位置)。
html
  • 1 个回答
  • 10 Views
Martin Hope
vladdv861 dvin
Asked: 2020-09-09 00:39:18 +0000 UTC

未定义的 get_header 函数

  • 0

我根据站点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。

wordpress
  • 1 个回答
  • 10 Views
Martin Hope
vladdv861 dvin
Asked: 2020-09-08 20:26:43 +0000 UTC

在不同的网站上安装 WordPress

  • 1

从https://ipipe.ru/info/ustanovka-wordpress-na-openserver判断,我得出的结论是 wordpress 是为每个站点分别安装在不同站点上的,即 在每个文件夹中(对于所有站点)都应该有来自 wordpress 文件夹的文件。如果不是这种情况,请提供一个页面,同时解释所有站点的一次性安装。

wordpress
  • 3 个回答
  • 10 Views
Martin Hope
vladdv861 dvin
Asked: 2020-07-22 22:11:09 +0000 UTC

在 Photoshop 中放大图像

  • 0
  1. 如何在 Photoshop 中放大图像(使用哪些菜单项和热键)?
  2. 如果路径没有完全最终选择,如何取消选择磁性套索?(无法访问菜单项 - 直到循环关闭)
изображения
  • 1 个回答
  • 10 Views
Martin Hope
vladdv861 dvin
Asked: 2020-07-22 21:28:35 +0000 UTC

从 html 文件创建屏幕截图 [关闭]

  • -3
关闭。这个问题不可能给出客观的答案。目前不接受回复。

想改进这个问题? 重新构建问题,以便可以根据事实和引用来回答。

2年前关闭。

改进问题

从 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 截取屏幕截图?

html
  • 1 个回答
  • 10 Views
Martin Hope
vladdv861 dvin
Asked: 2020-02-28 00:12:21 +0000 UTC

后端包含的操作

  • 1

在互联网上找到https://skillbox.ru/media/code/frontend_i_backend_razrabotka/:

后端开发是一套实现站点逻辑的硬件和软件工具。简而言之,这是隐藏在用户眼中并发生在他的浏览器和计算机之外的事情。例如,当您在搜索引擎页面上输入查询并按 Enter 键时,前端结束,后端开始。您的请求将发送到搜索算法所在的 Google 或 Yandex 服务器。这就是所有“魔法”发生的地方。一旦您要查找的信息出现在监视器上,您就会再次返回前端区域。

还找到了https://tproger.ru/translations/backend-web-development/。综上所述,我了解到后端包括以下内容:

  1. 处理传递给搜索字符串的请求;
  2. 使用数据库;
  3. 使用邮件列表

由于我是初学者,请提供更多包含在后端(服务器部分)中的操作,因为我只引用了 3 件事。

php
  • 2 个回答
  • 10 Views

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    我看不懂措辞

    • 1 个回答
  • Marko Smith

    请求的模块“del”不提供名为“default”的导出

    • 3 个回答
  • Marko Smith

    "!+tab" 在 HTML 的 vs 代码中不起作用

    • 5 个回答
  • Marko Smith

    我正在尝试解决“猜词”的问题。Python

    • 2 个回答
  • Marko Smith

    可以使用哪些命令将当前指针移动到指定的提交而不更改工作目录中的文件?

    • 1 个回答
  • Marko Smith

    Python解析野莓

    • 1 个回答
  • Marko Smith

    问题:“警告:检查最新版本的 pip 时出错。”

    • 2 个回答
  • Marko Smith

    帮助编写一个用值填充变量的循环。解决这个问题

    • 2 个回答
  • Marko Smith

    尽管依赖数组为空,但在渲染上调用了 2 次 useEffect

    • 2 个回答
  • Marko Smith

    数据不通过 Telegram.WebApp.sendData 发送

    • 1 个回答
  • Martin Hope
    Alexandr_TT 2020年新年大赛! 2020-12-20 18:20:21 +0000 UTC
  • Martin Hope
    Alexandr_TT 圣诞树动画 2020-12-23 00:38:08 +0000 UTC
  • Martin Hope
    Air 究竟是什么标识了网站访问者? 2020-11-03 15:49:20 +0000 UTC
  • Martin Hope
    Qwertiy 号码显示 9223372036854775807 2020-07-11 18:16:49 +0000 UTC
  • Martin Hope
    user216109 如何为黑客设下陷阱,或充分击退攻击? 2020-05-10 02:22:52 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5