Add "widget" to display options
-
I recently had a need to the widget and wanted to do so using the shortcode followed by my customizations beneath. However, the styling is different for gce-page-grid and gce-widget and I had already got the styling set exactly how I wanted it for the widget. I was hoping I could just do ‘display=”grid”‘ in the shortcode but saw it didn’t work. I modified line 67 in misc-functions php as follows:
if( 'grid' == $display || 'widget' == $display ) { if ('widget' == $display) $widget = 1;
which allows ‘display=”grid”‘ as an option in the shortcode and displays it exactly as it was in the widget. Not sure if this is the best way to add it permanently but it would be nice if it was implemented.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Add "widget" to display options’ is closed to new replies.