Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Templating and grid view are not working for me.

$
0
0

Replies: 0

Hi there, thank you for the beautiful plugin.
I have two issues here,

1- How to change to a grid view instead of list view. i have tried changing the code in “templates/v1/listing/job-listings-start.php” file
` <?php
$view = get_option(‘job_board_listing_view’);
$class = ( ‘list-view’ === $view ) ? ‘list-view’ : ‘grid-view’;
?>`
But this seems to have no effect at all.
It only works by replacing the content of “content-job-listing-list-view.php” with the content of “content-job-listing-grid-view.php”.
but i’m sure there is an easy and effecient way to do it, please help.

2- Templating: when i do any changes in the folder “simple job board” inside my actvie (child) theme. no changes happen at all.
I followed the same hierarchy of folders/files, sometimes I even copy/paste the whole plugin to make sure everything is in the right place. but again no sign of success.

At the moment, I only can change the original plugin then ofcourse lose all the changes when i update it.

Please guide me through these two problems i’m facing.

Thank you in advance.

  • This topic was modified 7 minutes ago by isitegate.

Viewing all articles
Browse latest Browse all 59525

Trending Articles