Skip to content

Commit ab1b05e

Browse files
authored
Merge pull request #1 from EldonYoder/feature/tweak-testimonial
Fixing a misspelling on the testimonial component.
2 parents 9bca496 + 173099b commit ab1b05e

File tree

10 files changed

+23
-20
lines changed

10 files changed

+23
-20
lines changed

_component/testimonial/component.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<figure class="Testimonial" itemscope itemtype="http://schema.org/Review">
2-
<blockqoute itemprop="reviewBody">This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
2+
<blockquote itemprop="reviewBody">This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
33
<footer>
44
<cite class="TestimonialAuthor" itemprop="author">- Wes Cole</cite>
55
</footer>
6-
</figure>
6+
</figure>

_component/testimonial/component.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<figure class="Testimonial" itemscope itemtype="http://schema.org/Review">
2-
<blockqoute itemprop="reviewBody"><?php the_field( 'testimonial_quote' ); ?></blockquote>
2+
<blockquote itemprop="reviewBody"><?php the_field( 'testimonial_quote' ); ?></blockquote>
33
<footer>
44
<cite class="TestimonialAuthor" itemprop="author">- <?php the_field( 'testimonial_author' ); ?></cite>
55
</footer>
6-
</figure>
6+
</figure>

_component/testimonial/component.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% raw %}<figure class="Testimonial" itemscope itemtype="http://schema.org/Review">
2-
<blockqoute itemprop="reviewBody">{{testimonial.get_field('testimonial_quote')}}</blockquote>
2+
<blockquote itemprop="reviewBody">{{testimonial.get_field('testimonial_quote')}}</blockquote>
33
<footer>
44
<cite class="TestimonialAuthor" itemprop="author">- {{testimonial.get_field('testimonial_author')}}</cite>
55
</footer>
6-
</figure>{% endraw %}
6+
</figure>{% endraw %}

_component/testimonial/example.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<body>
99

1010
<figure class="Testimonial">
11-
<blockqoute>This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
11+
<blockquote>This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
1212
<footer>
1313
<cite class="TestimonialAuthor">- Wes Cole</cite>
1414
</footer>
1515
</figure>
16-
16+
1717
</body>
1818
</html>

_component/testimonial/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Fields:
1616
* Text: `testimonial_author`
1717

1818
## Markup
19-
{% include partials/markup.md %}
19+
{% include partials/markup.md %}
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<figure class="Testimonial" itemscope itemtype="http://schema.org/Review">
2-
<blockqoute itemprop="reviewBody">This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
2+
<blockquote itemprop="reviewBody">This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
33
<footer>
44
<cite class="TestimonialAuthor" itemprop="author">- Wes Cole</cite>
55
</footer>
6-
</figure>
6+
</figure>
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<figure class="Testimonial" itemscope itemtype="http://schema.org/Review">
2-
<blockqoute itemprop="reviewBody"><?php the_field( 'testimonial_quote' ); ?></blockquote>
2+
<blockquote itemprop="reviewBody"><?php the_field( 'testimonial_quote' ); ?></blockquote>
33
<footer>
44
<cite class="TestimonialAuthor" itemprop="author">- <?php the_field( 'testimonial_author' ); ?></cite>
55
</footer>
6-
</figure>
6+
</figure>
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% raw %}<figure class="Testimonial" itemscope itemtype="http://schema.org/Review">
2-
<blockqoute itemprop="reviewBody">{{testimonial.get_field('testimonial_quote')}}</blockquote>
2+
<blockquote itemprop="reviewBody">{{testimonial.get_field('testimonial_quote')}}</blockquote>
33
<footer>
44
<cite class="TestimonialAuthor" itemprop="author">- {{testimonial.get_field('testimonial_author')}}</cite>
55
</footer>
6-
</figure>{% endraw %}
6+
</figure>{% endraw %}

_site/component/testimonial/example.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<body>
99

1010
<figure class="Testimonial">
11-
<blockqoute>This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
11+
<blockquote>This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!</blockquote>
1212
<footer>
1313
<cite class="TestimonialAuthor">- Wes Cole</cite>
1414
</footer>
1515
</figure>
16-
16+
1717
</body>
1818
</html>

_site/component/testimonial/index.html

+6-3
Original file line numberDiff line numberDiff line change
@@ -178,29 +178,32 @@ <h2 id="advanced-custom-fields">Advanced Custom Fields</h2>
178178
<h2 id="markup">Markup</h2>
179179
<h3>HTML</h3>
180180
<div class="language-html highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;figure</span> <span class="na">class=</span><span class="s">"Testimonial"</span> <span class="na">itemscope</span> <span class="na">itemtype=</span><span class="s">"http://schema.org/Review"</span><span class="nt">&gt;</span>
181-
<span class="nt">&lt;blockqoute</span> <span class="na">itemprop=</span><span class="s">"reviewBody"</span><span class="nt">&gt;</span>This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!<span class="nt">&lt;/blockquote&gt;</span>
181+
<span class="nt">&lt;blockquote</span> <span class="na">itemprop=</span><span class="s">"reviewBody"</span><span class="nt">&gt;</span>This is the greatest compnoent library out there... 10up is even awesomer for inspiring it!<span class="nt">&lt;/blockquote&gt;</span>
182182
<span class="nt">&lt;footer&gt;</span>
183183
<span class="nt">&lt;cite</span> <span class="na">class=</span><span class="s">"TestimonialAuthor"</span> <span class="na">itemprop=</span><span class="s">"author"</span><span class="nt">&gt;</span>- Wes Cole<span class="nt">&lt;/cite&gt;</span>
184184
<span class="nt">&lt;/footer&gt;</span>
185185
<span class="nt">&lt;/figure&gt;</span>
186+
186187
</code></pre>
187188
</div>
188189
<h3>PHP</h3>
189190
<div class="language-php highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;figure</span> <span class="na">class=</span><span class="s">"Testimonial"</span> <span class="na">itemscope</span> <span class="na">itemtype=</span><span class="s">"http://schema.org/Review"</span><span class="nt">&gt;</span>
190-
<span class="nt">&lt;blockqoute</span> <span class="na">itemprop=</span><span class="s">"reviewBody"</span><span class="nt">&gt;</span><span class="cp">&lt;?php</span> <span class="nx">the_field</span><span class="p">(</span> <span class="s1">'testimonial_quote'</span> <span class="p">);</span> <span class="cp">?&gt;</span><span class="nt">&lt;/blockquote&gt;</span>
191+
<span class="nt">&lt;blockquote</span> <span class="na">itemprop=</span><span class="s">"reviewBody"</span><span class="nt">&gt;</span><span class="cp">&lt;?php</span> <span class="nx">the_field</span><span class="p">(</span> <span class="s1">'testimonial_quote'</span> <span class="p">);</span> <span class="cp">?&gt;</span><span class="nt">&lt;/blockquote&gt;</span>
191192
<span class="nt">&lt;footer&gt;</span>
192193
<span class="nt">&lt;cite</span> <span class="na">class=</span><span class="s">"TestimonialAuthor"</span> <span class="na">itemprop=</span><span class="s">"author"</span><span class="nt">&gt;</span>- <span class="cp">&lt;?php</span> <span class="nx">the_field</span><span class="p">(</span> <span class="s1">'testimonial_author'</span> <span class="p">);</span> <span class="cp">?&gt;</span><span class="nt">&lt;/cite&gt;</span>
193194
<span class="nt">&lt;/footer&gt;</span>
194195
<span class="nt">&lt;/figure&gt;</span>
196+
195197
</code></pre>
196198
</div>
197199
<h3>Twig</h3>
198200
<div class="language-twig highlighter-rouge"><pre class="highlight"><code><span class="nt">&lt;figure</span> <span class="na">class=</span><span class="s">"Testimonial"</span> <span class="na">itemscope</span> <span class="na">itemtype=</span><span class="s">"http://schema.org/Review"</span><span class="nt">&gt;</span>
199-
<span class="nt">&lt;blockqoute</span> <span class="na">itemprop=</span><span class="s">"reviewBody"</span><span class="nt">&gt;</span><span class="cp">{{</span><span class="nv">testimonial.get_field</span><span class="p">(</span><span class="s1">'testimonial_quote'</span><span class="p">)</span><span class="cp">}}</span><span class="nt">&lt;/blockquote&gt;</span>
201+
<span class="nt">&lt;blockquote</span> <span class="na">itemprop=</span><span class="s">"reviewBody"</span><span class="nt">&gt;</span><span class="cp">{{</span><span class="nv">testimonial.get_field</span><span class="p">(</span><span class="s1">'testimonial_quote'</span><span class="p">)</span><span class="cp">}}</span><span class="nt">&lt;/blockquote&gt;</span>
200202
<span class="nt">&lt;footer&gt;</span>
201203
<span class="nt">&lt;cite</span> <span class="na">class=</span><span class="s">"TestimonialAuthor"</span> <span class="na">itemprop=</span><span class="s">"author"</span><span class="nt">&gt;</span>- <span class="cp">{{</span><span class="nv">testimonial.get_field</span><span class="p">(</span><span class="s1">'testimonial_author'</span><span class="p">)</span><span class="cp">}}</span><span class="nt">&lt;/cite&gt;</span>
202204
<span class="nt">&lt;/footer&gt;</span>
203205
<span class="nt">&lt;/figure&gt;</span>
206+
204207
</code></pre>
205208
</div>
206209

0 commit comments

Comments
 (0)