Strange code
-
Dear Sirs
BDP Lite works very well on my blog, but I’m having a problem. I’m trying to change the number of posts per page, but when I look at the blog page in “Text” mode, I see this:<!– wp:siteorigin-panels/layout-block {“panelsData”:{“widgets”:[{“title”:””,”text”:”[bdp_post design=\u0022design-2\u0022 show_author=\u0022false\u0022 show_date=\u0022false\u0022 grid=2 show_category=\u0022false\u0022 category=\u002217\u0022 limit=\u00229\u0022 show_comments=\u0022false\u0022]”,”filter”:true,”visual”:true,”panels_info”:{“class”:”WP_Widget_Text”,”grid”:0,”cell”:0,”id”:0,”widget_id”:”4015ec2d-57be-4610-9134-a760ec0d62a7″,”style”:{“background_image_attachment”:false,”background_display”:”tile”}}}],”grids”:[{“cells”:1,”style”:[]}],”grid_cells”:[{“grid”:0,”index”:0,”weight”:1,”style”:[]}]},”contentPreview”:”\u003cdiv id=\u0022pl-1880\u0022 class=\u0022panel-layout\u0022 \u003e\u003cdiv id=\u0022pg-1880-0\u0022 class=\u0022panel-grid panel-no-style\u0022 \u003e\u003cdiv id=\u0022pgc-1880-0-0\u0022 class=\u0022panel-grid-cell\u0022 \u003e\u003cdiv id=\u0022panel-1880-0-0-0\u0022 class=\u0022so-panel widget widget_text panel-first-child panel-last-child\u0022 data-index=\u00220\u0022 \u003e\t\t\t\u003cdiv class=\u0022textwidget\u0022\u003e\r\n\t\t\u003cdiv class=\u0022bdp-post-grid-main bdp-design-2 bdpgrid-2 bdp-clearfix\u0022\u003e\t\t\t\r\n\t\t\t\u003cdiv class=\u0022bdp-post-grid bdp-medium-6 bdp-columns bdp-first\u0022\u003e\t\t\r\n\t\u003cdiv class=\u0022bdp-post-grid-content bdp-no-thumb-image\u0022\u003e\r\n\t\t\t\t\u003cdiv class=\u0022bdp-post-margin-content\u0022\u003e\r\n\t\t\t\r\n\t\t\t\u003ch2 class=\u0022bdp-post-title\u0022\u003e\r\n\t\t\t\t\u003ca
and lots more…
I can’t find where I originally posted the bdp shortcode.
Can I change the bdp parameters using the above code? I’ve tried, but all that happens is that the number of posts on the page drops to 2 and I have to restore from a backup to get back to “normal”.
Any help would be greatly appreciated, thank you.
- The topic ‘Strange code’ is closed to new replies.