lwc:wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lwc:wordpress [2022/11/13 14:15] John Harrisonlwc:wordpress [2023/01/22 17:23] (current) – [Tweaks] John Harrison
Line 6: Line 6:
 | jetpack                                     | way overkill, and wants to see my personal profile on FB etc.                                                                                                                                                                                                              | | jetpack                                     | way overkill, and wants to see my personal profile on FB etc.                                                                                                                                                                                                              |
 | Really simple Facebook Twitter share buttons| they don't line up well so they look bad (easily fixed). Other than that, it could be a good alternative to Facebook plugin                                                                                                                                                | | Really simple Facebook Twitter share buttons| they don't line up well so they look bad (easily fixed). Other than that, it could be a good alternative to Facebook plugin                                                                                                                                                |
-|**WP Facebook Like Send & Open Graph Meta**  |**This does the Facebook like and share buttons, and handles all the open graph stuff for you, using the featured image as the image for sharing and having a default image. You have to add the app-id yourself in your html though. This is what I went with Aug 7, 2014**|                                                                                                                                                                                                                                                                       +|**WP Facebook Like Send & Open Graph Meta**  |**This does the Facebook like and share buttons, and handles all the open graph stuff for you, using the featured image as the image for sharing and having a default image. You have to add the app-id yourself in your html though. This is what I went with Aug 7, 2014**| 
 +|[[https://wordpress.org/plugins/generate-child-theme/|Generate Child Theme]]|Easy way to get a child theme set up|                                                                                                                                                                                                                                                                
  
 ===== GDPR ===== ===== GDPR =====
Line 18: Line 19:
 ===== Kadence Blocks ===== ===== Kadence Blocks =====
 ==== Two Column Responsive with Text Overflow ==== ==== Two Column Responsive with Text Overflow ====
-=== Vimeo Video ===+=== Vimeo Video and generic images ===
 There has to be a better way but for now the kludge is to embed video 2x. There has to be a better way but for now the kludge is to embed video 2x.
     * 1st video set ''alignment'' to ''left'' and add the following to the custom CSS:     * 1st video set ''alignment'' to ''left'' and add the following to the custom CSS:
-<code>+<code css>
 @media (max-width: 600px) { @media (max-width: 600px) {
- .ticss-3da29413 + selector 
-    display: none !important; +    display: none !important;  
-   + }
 } }
 +.alignleft {
 +  margin-top:0 !important;
 +  margin-bottom: 0 !important;
 } }
-  .alignleft { 
-    margin-top:0 !important; 
-    margin-bottom: 0 !important; 
-  } 
 </code> </code>
   * 2nd video keep alignment at ''none'' and add the following custom CSS:   * 2nd video keep alignment at ''none'' and add the following custom CSS:
-<code>+<code css>
 @media (min-width: 601px) { @media (min-width: 601px) {
- .ticss-abefe4ae {+ selector {
     display: none !important;     display: none !important;
 +  }
 } }
 </code>  </code> 
-One catch is the keyword ''selector'' is replaced by the editor with ''.ticss-XXXXXX'' after saving so every time you reedit the post you have change ''.ticss-XXXXXX'' back to ''selector'' before saving again+One catch is the keyword ''selector'' is replaced by the editor with ''.ticss-XXXXXX'' after saving so every time you reedit the post you have change ''.ticss-XXXXXX'' back to ''selector'' before saving again
 + 
 +For generic images change the ''min-width'' settings as appropriate 
 + 
 +==== Tweaks ==== 
 +  * [[https://wpastra.com/docs/replace-navigation-strings-on-single-post/|change next and previous text and code on single post]] 
 +    - use ''get_previous_post(true)'' to get previous post in same category 
 +    - add ''$args['in_same_term'] = true;'' before ''return $args;'' 
  • lwc/wordpress.1668370535.txt.gz
  • Last modified: 2022/11/13 14:15
  • by John Harrison