ed523
Forum Replies Created
-
Mystery solved, i didn’t close a div in an html block.
Forum: Plugins
In reply to: [GenerateBlocks] “Edit as HTML” option disappeared.oh no
Forum: Plugins
In reply to: [GenerateBlocks] “Edit as HTML” option disappeared.ok, i disabled all plugings including gb and the group block still doesn’t have the option so i guess it’s something else
Forum: Plugins
In reply to: [GenerateBlocks] “Edit as HTML” option disappeared.ok with no plugins other than generate blocks enabled gb qury loop and headings do, grid and container dont. the default group block doesn’t, the default heading block does
Forum: Plugins
In reply to: [GenerateBlocks] “Edit as HTML” option disappeared.it seems query loop, and headings still have the option but not grid or section. 7.4. I’m going back trough disabling the plugins, hold on
Forum: Plugins
In reply to: [GenerateBlocks] “Edit as HTML” option disappeared.problem persists with all other pugins disabled, I’m not seeing any error messages
oops didnt clear the cache, I’m doing it again
- This reply was modified 9 months, 3 weeks ago by ed523.
well initially I had several.
this is what it looks like when I add a fresh default post grid 2 block on this page
backend: https://imgur.com/a/azIJU2f
front end: https://imgur.com/ZFvIphMSorry, the page is now at https://edreibsamen.design/portfolio-thats-broken/
front end https://i.imgur.com/IhpkbWu.jpg
the top post grid is fine but as you can see the one under it is not. it was created from the top one as a copy. here’s the back end https://i.imgur.com/6ARH45V.jpg
they aren’t in any container blocks. Also any other post gids I create by any method do the same thing. I did create another portfolio page and everything seems to be working fine on that onei just hid the side bar with css but it was still weird… the page of hte event was the only one that was happening on
Forum: Plugins
In reply to: [Auto Attachments] illegal string offsetthx
…but i didn’t.
following these instructions fun with advanced custom fields i put `<a href=”<?php $image = get_field(‘logo_image’); echo($image[‘sizes’][‘large’]); ?>”>
<img class=”logo_img” alt=”logo” src=”<?php $image = get_field(‘logo_image’); echo($image[‘sizes’][‘medium’]); ?>” />
</a><br />
<?php the_field(‘winery_website’); ?><br />
<?php the_field(‘tasting_notes’); ?><br />
<?php the_field(‘press_articles’); ?><br />` in content.php of my 2012 theme at the bottom of the entry-content div
the image looks good but the other fields just print out the file path and i need them to list linked titles, so thats where i’m at now.i decided to revisit the custom content types manager as they have the adding custom fields functionality included and they give you the code to make a php theme template page but when you make the post and try to add the logo it gives the error “The CCTM plugin was unable to determine the ID of the related item. Avoid using alternate sizes of images” the pdf’s seem to attach fine but the resulting post page just says “array” instead of listing the file (if there is only one) if theres multiples it outputs a number. completely useless. i’m about three seconds from ripping the whole thing down and installing drupal. i know exactly how to do all that with drupal without writing any code. i though wp was supposed to be easier?
thank you very much. i generally prefer to do things the short way if possible, especially since i don’t know php. i’m about to hire some guy to teach me because unlike drupal it seems there’s no getting around writing some php if you want to get wp to “do stuff”. someone else told me that the reason the files from my fields weren’t showing up was possibly because they have to be manually added to my theme so i’m figuring that out now.
you say you’re struggling with the same issue? getting files from a custom post type with custom fields to show up?