echo spesific title get_the_title

you can use the_title($quiz) instead of get_the_title() Put this code foreach($quiz_ids as $quiz_id){ echo ‘<th><a href=”‘.get_permalink($quiz_id).'” target=”_blank”> ‘.the_title($quiz_id).'</a></th>’; } Hope this will help you

table chaos since upgrade to 4.8

To follow up, I did some more research on what causes html corruption, and one possible answer is different versions of jquery being called by different plugins. So i installed “jQuery Updater”. This didn’t fix it, but it gave me the clue to toggle on/off plugins that use jquery. When I hit the 3rd of … Read more

How can I create this type of table/catalog? [closed]

You should create custom post type – you can do it with code in functions.php or using a plugin Create basic page template to loop through new post type Add custom fields to store extra data as in tour screenshot. I usually use acf plugin for it Fine tune your new page template with the … Read more

CSS for Table Rows and Columns

After much frustration I realised that the issue is the fact that you need ultimately to specify what you do with the cell in the nth row, hence the correct code is: table td:nth-child(1), table tr:nth-child(1) td { font-weight: bold; } Putting this up as the answer as there are a lot of sources that … Read more

WordPress Table didn’t look right

The displacement could be result of the theme you are using. You will have to check what is the width of your content area and compare it to the table overall width (main image + side images + padding inside the cells + padding between the cells + borders, if you are using any). You … Read more

database select issue

“SELECT column FROM table ORDER BY RAND() LIMIT 1 ” or you can add more restrictions to fetch from last 5 by time. Hope it help you a bit

How to build a dynamic data table with backend fields for the user

Advanced Custom Fields Pro lets you add an options page to the WordPress backend. Then you can create your fields for site-wide options (i.e. logo, branding options, etc) on a dedicated options page and pull them from anywhere on the site, rather than only from within specific posts/post types.

Table not getting created upon activation of WP Theme

dbDelta is extremely picky. Looking at your code I’d say you’ve violated this rule: You must put each field on its own line in your SQL statement Two of your fields are sharing lines with parenthesis. I haven’t tested that particular pattern but dbDelta is extremely picky. I don’t know if that space after NOT … Read more