| | |
| | | |
| | | if (!static::$currentLoop) { |
| | | |
| | | if (JVB_TESTING) { |
| | | jvbDump('No loop stored'); |
| | | } |
| | | return $content; |
| | | } |
| | | if (static::$currentLoop->have_posts()) { |
| | |
| | | ); |
| | | |
| | | } |
| | | if (JVB_TESTING) { |
| | | jvbDump('Could not create template part block for '.$block['blockName']); |
| | | } |
| | | |
| | | return $content; |
| | | |
| | | // $isHeaderTemplate = ( |
| | |
| | | ); |
| | | } |
| | | return $classes; |
| | | case 'anchor': |
| | | //TODO: What's this doing? |
| | | return ''; |
| | | default: |
| | | if (JVB_TESTING && !is_admin() &&!in_array($key, $this->ignore)) { |
| | | // TESTING |
| | |
| | | break; |
| | | } |
| | | return $this->getColorStyle($value, $type); |
| | | |
| | | case 'anchor': |
| | | //TODO: What should we do here? |
| | | break; |
| | | // Any other attributes that need direct styling |
| | | default: |
| | | if (JVB_TESTING && !is_admin() && !in_array($key, $this->ignore)) { |
| | |
| | | break; |
| | | default: |
| | | if (JVB_TESTING) { |
| | | jvbDump($value, 'No preset found for size: '.print_r($value, true)); |
| | | error_log('No preset found for size: '.print_r($value, true)); |
| | | } |
| | | } |
| | | } |