Something is not working? Please follow the steps below to help us isolate the cause of error.
While testing, disable out internal cache. Put the following at the end of wp-config.php
# wp-config.php
define('PODLOVE_TEMPLATE_CACHE', false);
defmodule Some.Progress do | |
use GenServer | |
def start_link() do | |
GenServer.start_link(__MODULE__, %{total: 0, progress: 0}, name: __MODULE__) | |
end | |
def init(args) do | |
{:ok, args} | |
end |
<?php | |
add_filter('podlove_player4_config', function ($config) { | |
$config['visibleComponents'] = [ | |
'tabInfo', | |
'tabChapters', | |
'tabDownload', | |
'tabAudio', | |
// 'tabShare', | |
'poster', | |
'showTitle', |
defmodule NeulandWeb.Admin.EpisodeController do | |
use NeulandWeb, :controller | |
alias Neuland.Repo | |
alias Neuland.Directory | |
alias Neuland.Directory.EpisodeParams | |
@episodes_per_page 100 | |
def index(conn, %{"filter" => filter_params}) do |
<?php | |
add_filter('podlove_post_type_args', function ($args) { | |
$args['rewrite'] = true; | |
return $args; | |
}); |
{% set total = 0 %} | |
{% for episode in podcast.episodes %} | |
{% set total = total + episode.duration.totalMilliseconds %} | |
{% endfor %} | |
{# // is division and then rounding down (floor) #} | |
{% set hours = total // (1000 * 3600) %} | |
{% set minutes = (total // (1000 * 60)) % 60 %} | |
{% set seconds = (total // 1000) % 60 %} |
#!/bin/bash | |
set -e | |
show_help() { | |
cat << EOF | |
Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE] | |
${0##*/} -h | |
Open a standard connection in Sequel PRO. |
<?php | |
/** | |
* Plugin Name: Multisite: Passwort Reset on Local Blog | |
* Plugin URI: https://gist.github.com/eteubert/293e07a49f56f300ddbb | |
* Description: By default, WordPress Multisite uses the main blog for passwort resets. This plugin enables users to stay in their blog during the whole reset process. | |
* Version: 1.0.0 | |
* Author: Eric Teubert | |
* Author URI: http://ericteubert.de | |
* License: MIT | |
*/ |
<FilesMatch "\.(mp3|m4a|ogg|oga|opus|flac)$"> | |
Header set Content-Disposition "attachment" | |
</FilesMatch> | |
AddType audio/mpeg mp3 | |
AddType audio/mp4 m4a | |
AddType audio/ogg oga ogg | |
AddType audio/opus opus | |
AddType audio/flac flac |