问题标签 [wordpress.com]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2719 浏览

php - WordPress.com 如何动态调整图像大小?

注意:这个问题很棘手(决定它是否与 SO 相关),但这不是简单的 WordPress 问题。

我听说 WordPress.com 有一个独立的基础架构层(基于 Nginx 的服务器)用于图像,几乎独立于托管的 WordPress 博客。

问题是,WordPress.com 博客上的任何图像都可以通过附加w(宽度)和/或h(高度)参数来调整大小,如下所示:

http://serenescribe.files.wordpress.com/2012/04/cropped-p1000206.jpg?w=400
http://serenescribe.files.wordpress.com/2012/04/cropped-p1000206.jpg?h=200

脚本在网络上可用吗?(因为,他们总是说 “我们是开源的坚定信徒,我们会尽力开源。”

大多数动态图像大小调整脚本都不安全并且很容易受到攻击(Tim Thumb),或者写得不好,或者以性能为代价。有/有什么好的吗?

PS:可能还有其他几个动态图像调整脚本,例如 TimThumb。但我只对 WordPress.com 博客使用的内容感兴趣。

0 投票
2 回答
213 浏览

wordpress - wordpress.com 托管博客上的随机背景

我想知道是否可以为 wordpress.com 上托管的博客添加随机背景。每次访问者进入页面或按下F5,都会加载不同的背景。我怎样才能做到这一点?

0 投票
1 回答
117 浏览

wordpress - Wordpress.com 托管

我在 hostmonster.com 上注册了一个域,而我的博客现在在 wordpress.com 上,我如何将我的域转移到 Wordpress(我认为这是不可能的)或将我的域 URL 映射到我的 Wordpress 博客。

注意:我不需要自托管我想使用 wordpress.com 托管。

知道我该怎么做。

0 投票
1 回答
81 浏览

wordpress - WordPress。如何添加一个js脚本?(托管在 wordpress.com)

我在 wordpress.com 上托管了一个 wordpress 博客我试图添加一个自定义 js 脚本。实现这一目标的最简单方法是什么?

0 投票
0 回答
774 浏览

ruby-on-rails - Upload image to Wordpress.com Gallery with REST API

I'm trying to upload an image to a WordPress.com blog via their REST API. According to their documentation, I should be able to use the new post endpoint to do so. I'm currently using Rails and rest-client to successfully create text posts using the following code (post_hash contains all the post information):

As I mentioned, this works perfectly. Now, I'd like to be able to upload a new image to the blog's Gallery by creating a new "post" with the image attached. I'm trying to use this code to do so (image is a CarrierWave file stored on Amazon S3):

This does not work and keeps giving me a 400 Bad Request error. If anyone has any suggestions as to what I'm doing wrong or advice on a better way of doing this, I'd greatly appreciate it. Thanks!

0 投票
1 回答
166 浏览

wordpress - wordpress.com上的博客创建时间可以确定吗?

是否有可能今天在 wordpress.com 上写博客,并给它一个过去另一个时间的日期?

另一个问题是如何找到http://wordpress.com/中的博客的创建时间?我所说的博客是指用户的博客,其 URL 类似于 user.wordpress.com。

0 投票
1 回答
841 浏览

mathjax - 有没有办法为 wordpress.com 配置 mathjax?

wordpress.org 有一个插件。但是有没有办法在 wordpress.com 的页面模板中添加一些代码,就像你可以为博主一样?

0 投票
1 回答
86 浏览

wordpress - 如何备份 wordpress.com 博客

我在 wordpress.com 上有一个博客,如何备份博客,没有添加插件选项,我如何备份所有文件和数据库。任何方式备份博客。我正在尝试从最后 2 小时开始谢谢。

0 投票
1 回答
1900 浏览

html - 在 Wordpress.com 中无法使表格列宽相等

我通过 Wordpress.com(免费版)在我的页面上创建了一个表格。我无法访问 css,但我可以在页面上放置一个表格。但是,即使我将列宽设置为相同,它们也不会以这种方式显示。第一列比另一列宽。

我是否不正确地使用代码?如果有,应该怎么写?

0 投票
2 回答
464 浏览

wordpress - wordpress.com 服务器是否发送不正确的标头?

我们目前在所有 wordpress.com 服务器返回无效数据方面遇到很大问题。这可能与服务器返回不正确的 HTTP 标头有关。

使用以下 VB/ASP 代码很容易重现此错误:

错误消息将是:

msxml6.dll 错误“80072f78”:服务器返回无效或无法识别的响应

有什么见解吗?