标签: plugins

Wordpress,过滤以更改搜索词?

我想知道在 Wordpress 中更改搜索词的过滤器是什么?

例如,如果有人输入 xxx,我如何在它进入 wordpress 搜索引擎之前将其更改为 yyy?

干杯。

php wordpress search plugins filter

1
推荐指数
1
解决办法
2895
查看次数

如何将扩展vsix文件安装到TFS 2015(更新3)?

我下载了日历扩展名文件,但无法确定TFS如何上传文件?

https://marketplace.visualstudio.com/items?itemName=ms-devlabs.team-calendar

您可以从用户界面上传吗?

plugins tfs-2015

1
推荐指数
1
解决办法
1630
查看次数

升级到jQuery 3.1.1后,Prettyphoto插件停止工作

流行的模态图像滑块插件,我将jquery库从1.3更新到3.1.1后,PrettyPhoto停止工作

如果控制台显示任何错误,则很容易解决问题,但事实并非如此.

我会感激任何帮助.

jquery plugins conflict updates prettyphoto

1
推荐指数
1
解决办法
1123
查看次数

Vagrant无法挂载VirtualBox共享文件夹错误

这是我的错误,我无法修复它.我需要帮助,我的虚拟盒子是最新版本.

在这里检查错误

流浪汉插件列表:

流浪汉插件列表

我试图更新它们,但每次重新启动我的阴道时,它们都会获得默认版本.我需要做什么?

plugins virtualbox vagrant laravel homestead

1
推荐指数
1
解决办法
265
查看次数

Microsoft Dynamics CRM - 插件C# - 将记录添加到实体集合

插件,C#,Microsoft Dynamics CRM Online

我想将一条记录(让我们称之为"sampleRecord")添加到一个实体集合(让我们称之为"sampleCollection"),但不知怎的,我无法使它工作.我在互联网上找到了这个解决方案,但是当我通过ITracingService检查总记录数时,它仍然是0.

到目前为止我的解

EntityCollection sampleCollection = new EntityCollection();
sampleCollection.Entities.Add(sampleRecord);
Run Code Online (Sandbox Code Playgroud)

这就是我检查总记录数的方式:

tracingService.Trace("total record count: " + sampleCollection.TotalRecordCount.ToString());
Run Code Online (Sandbox Code Playgroud)

在此先感谢您的帮助!

c# plugins microsoft-dynamics dynamics-crm dynamics-crm-online

1
推荐指数
1
解决办法
712
查看次数

webpack如何替换.ts文件中的字符串?

我有一个angular 2项目,最初是用来与systemjs捆绑在一起的。

现在我想用webpack捆绑这个项目。

但是原始代码中有很多这样的字符串。如

我想将所有字符串替换为文件所在的绝对目录。原始时间,生产模式或开发模式下,此字符串将替换为路径字符串。

现在,我想在编译.ts文件之前使用webpack替换此字符串。我应该使用哪种插件?

例如:login.module.routing.ts

{path:'login',/ app / src / login#LoginModule},

我想在使用webpack编译之前替换。

例如:{path:'login',/ root / myproject / app / src / login#LoginModule},

非常感谢 !

javascript plugins webpack angular

1
推荐指数
1
解决办法
1593
查看次数

错误:类不是抽象的,不会覆盖抽象方法

好吧,我正在尝试为Bukkit/Spigot编译一个java插件,但是我收到以下错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project Websend: Compilation failure
[ERROR] /home/bruno/spigot/Websend/src/main/java/com/github/websend/WebsendPlayerCommandSender.java:[24,7] error: WebsendPlayerCommandSender is not abstract and does not override abstract method sendTitle(String,String,int,int,int) in Player
Run Code Online (Sandbox Code Playgroud)

文件的各个部分是错误(我的意思):

public class WebsendPlayerCommandSender implements Player {
/* This class allows tapping into command output from plugins
 * if the output is sent through the commandsender.
 * Note to anyone having compilation problems: Compile against Bukkit, not CraftBukkit.
 *
 * Tap this method(1.6.4): sendRawMessage, sendMessage(String), sendMessage(String[])
 */

    private final Player baseObject; …
Run Code Online (Sandbox Code Playgroud)

java plugins minecraft bukkit

1
推荐指数
1
解决办法
5414
查看次数

为什么if语句不能检测我的游戏状态

我是Java的新手,我在代码中遇到了一个"错误",我无法理解/修复.为了给你一些背景知识,我设置了一个说明所有游戏状态的枚举(下面)

public enum GameState {

    IN_LOBBY(true), IN_GAME(false), POST_GAME(false), RESETTING(false);

    private boolean canJoin;    
    private static GameState currentState;

    GameState(boolean canJoin) {
        this.canJoin = canJoin;
    }

    public boolean canJoin() {
        return canJoin();
    }

    public static void setState(GameState state) {
        GameState currentState = state;
    }

    public static boolean isState(GameState state) {
        return GameState.currentState == state;
    }

    public static GameState getState() {
        return currentState;
    }
}
Run Code Online (Sandbox Code Playgroud)

在我的main.java类中,我在onEnable方法中指定将GameState设置为IN_LOBBY.

基本上我想要做的是在BlockBreakEvent Listener我想说的是

if (GameState.isState(GameState.IN_LOBBY)) {
    Location bLoc = block.getLocation();
    ChatUtilties.errorPlayer("You may not …
Run Code Online (Sandbox Code Playgroud)

java plugins enums listeners

1
推荐指数
1
解决办法
127
查看次数

在WebStorm中使用命令+数字切换选项卡?

有什么方法可以使用Command + number切换选项卡?Atom,代码和许多其他IDE中都提供了此功能,

ide plugins webstorm

1
推荐指数
1
解决办法
30
查看次数

在Wordpress插件中编辑一个函数(或者有没有办法创建一个'Child插件')?

我正在使用一个名为Lightweight Social Icons的插件,我想添加自己的自定义图标,而无需编辑父插件.

这是父插件的片段:

class lsi_Widget extends WP_Widget {
 ... (class functions are in here)
}

function lsi_icons( $options = '' ) {
    $options = array (
        'email' => array(
            'id' => 'email',
            'name' => __( 'Contact', 'lightweight-social-icons' )
        ),
        'delicious' => array(
            'id' => 'delicious',
            'name' => __( 'Delicious', 'lightweight-social-icons' )
        ),
        'deviantart' => array(
            'id' => 'deviantart',
            'name' => __( 'DeviantArt', 'lightweight-social-icons' )
        ),
        'digg' => array(
            'id' => 'digg',
            'name' => __( 'Digg', 'lightweight-social-icons' ) …
Run Code Online (Sandbox Code Playgroud)

php wordpress plugins class function

1
推荐指数
1
解决办法
390
查看次数