找回密码
 注册
搜索
免费空间 免费域名 免费AI 老牌主机商首月仅1美分!27美元/年!99美分域名! Namecheap优惠码大全阿里云2核2G3M新老续费同享99元/年!
查看: 80|回复: 3

[建站交流] 请问丁丁站长,aldsd网站seo优化都有哪些?

[复制链接]
发表于 2024-2-2 09:18:05 | 显示全部楼层 |阅读模式
我看图片路径和命名都是设计好的。

https://www.aldsd.com/images/b/bandwagonhost/5.gif



另外咨询个问题,摘要怎么能调用图片,而且排版这么规范。
发表于 2024-2-2 09:28:55 | 显示全部楼层
这个路径是手动的,不是什么插件。

SEO用的插件是Smart SEO Tool。

不是摘要,摘要里面好像不能调用图片、链接等。
 楼主| 发表于 2024-2-2 10:14:50 | 显示全部楼层
这些图片是怎么显示的?特色图片吗?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2024-2-2 10:46:02 | 显示全部楼层
snowfly 发表于 2024-2-2 10:14
这些图片是怎么显示的?特色图片吗?

不是特色图片,一般旧版本的wp模板都是这样的风格。我就是改回以前的风格而已,具体我也忘了怎么改了。给你看看首页模板代码,你参考一下。或者你找找wp早期的模板照着改改也行。
  1. <?php
  2. /**
  3. * The main template file
  4. *
  5. * This is the most generic template file in a WordPress theme
  6. * and one of the two required files for a theme (the other being style.css).
  7. * It is used to display a page when nothing more specific matches a query.
  8. * E.g., it puts together the home page when no home.php file exists.
  9. *
  10. * [url=home.php?mod=space&uid=559]@link[/url] https://codex.wordpress.org/Template_Hierarchy
  11. *
  12. * @package minimalistblogger
  13. */

  14. get_header(); ?>

  15. <div id="primary" class="featured-content content-area">
  16.         <main id="main" class="site-main">
  17.                 <?php
  18.                 if ( have_posts() ) :

  19.                         if ( is_home() && ! is_front_page() ) : ?>
  20.                
  21.                 <header>
  22.                         <h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
  23.                 </header>

  24.                 <?php
  25.                 endif;

  26.                 /* Start the Loop */
  27.                 while ( have_posts() ) : the_post();

  28.                                 /*
  29.                                  * Include the Post-Format-specific template for the content.
  30.                                  * If you want to override this in a child theme, then include a file
  31.                                  * called content-___.php (where ___ is the Post Format name) and that will be used instead.
  32.                                  */
  33.                                 get_template_part( 'template-parts/content', get_post_format() );

  34.                                 endwhile;
  35.                                 echo '<div class="text-center">';
  36.                                 minimalistblogger_numeric_posts_nav();
  37.                                 echo '</div>';
  38.                                 else :

  39.                                         get_template_part( 'template-parts/content', 'none' );

  40.                                 endif; ?>

  41.                         </main><!-- #main -->
  42.                 </div><!-- #primary -->

  43.                 <?php
  44.                 get_sidebar();
  45.                 get_footer();
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|免费吧论坛

GMT+8, 2024-4-27 19:56 , Processed in 0.030640 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表