简体   繁体   English

将图库中的媒体添加到Wordpress页面

[英]Add media from gallery to wordpress page

I'm working on a wordpress blog and I'm facing some problems that I need help with. 我正在一个wordpress博客上工作,并且遇到一些需要帮助的问题。 I'm not an experienced coder or wordpress user, please keep it simple :) 我不是经验丰富的编码员或wordpress用户,请保持简单:)

I'm using jetpack as i love the mosaic tiles gallery, this is where my problem rise. 我正在使用jetpack,因为我喜欢马赛克瓷砖画廊,这就是我的问题所在。 I want to use a RSS feed to fetch photo content to my blog, these photos needs to be placed on the main page (static page). 我想使用RSS提要将照片内容提取到我的博客中,这些照片需要放置在主页(静态页面)上。

Jetpack use this line to create the mosaic gallery: Jetpack使用此行来创建镶嵌库:

[gallery type="rectangular" columns="5" link="file" ids="40,41,42,43,44,45,29,23,22,21,20,19,18,16,17,15,13,14,12,11,10,8,9,7" orderby="rand"]

I need a way when feedwordpress fetch pictures and add them to media library to add those new pictures to the existing page, in this case add 45, 46, 47 and so on. 当feedwordpress提取图片并将其添加到媒体库时,我需要一种将这些新图片添加到现有页面的方法,在这种情况下,添加45、46、47等。

Any ideas? 有任何想法吗? Or plugins that are out of the box available? 还是开箱即用的插件?

Its not the best way to do i guess. 我猜这不是最好的方法。

@echo off for /l %%x in (1, 1, 10000) do echo %%x,>> numbers.txt @回显(l,1,10000)中的/ l %% x会回显%% x,>>数字.txt

added those as ids, now loads everything in media library 将它们添加为ID,现在将所有内容加载到媒体库中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM