categories – How to display custom taxonomy term specific post?

For example i have created a custom taxonomy news_type for custom post type news, if i add terms sports,games,politics to custom taxonomy so i want to display all post of politics taxonomy in a page,my other page contain all sports post.
in simple i want to create a page which shows specific custom taxonomy.

function my_post_type() { 

    $args = array(
        'labels' => array(
            'name' => 'News',
            'singular_name' => 'News',
            'add_new' => 'Add New News',
            'add_new_item' => 'Add New News',
            'edit_item' => 'Edit News',
            'new_item' => 'New News',
            'all_items' => 'All News',
            'view_item' => 'View News',
            'search_items' => 'Search News',
            'not_found' =>  'No News Found',
            'not_found_in_trash' => 'No News found in Trash', 
            'parent_item_colon' => '',
            'menu_name' => 'News',
        'public' => true,
        'has_archive' => true,
        'menu_icon' => 'dashicons-admin-site-alt3',
        'supports' => array('title','editor','thumbnail'),
        'capability_type' => 'post',


    register_post_type('news', $args);


add_action('init', 'my_post_type');

function my_taxonomy() {
    $args = array(
        'labels' => array(
            'name' => 'News_type',
            'singular_name' => 'News_type',
        'public' => true,
        'hierarchical' => true,

    register_taxonomy('init', array('news'),$args);


add_action('init', 'my_taxonomy');

Webform Template in Email Handler [webform_submission:values] to display Table View?

I am trying to figure out from where does [webform_submission:values] get rendered? This is how it looks right now in the email submittion

Label 1
Value 1

Label 2
Value 2

I want this in a table format. Is there a possibility to change the render code to do this ?


Display and editing complex data

I am looking for suggestion how to display complex data for reading/editing.

Data will be key-value, example:

string-val: “v12”,
int-value: 99,
boolean: true

I these types I think simple table will do the trick (with editable rows).

I will also have to support the following:
array-val: (1, 2 ,3), object-value: {name: “bp”, amount: 4}, array-object-value: ({name: “bp”, amount: 4}, {name: “bp”, amount: 4})

I am considering using: (just an example because we use material-ui), where the dropdown V will have an embedded table.

I am open for any suggestion, this is the only solution I can think of.

ilo – HP iLO4 Remote Console Java Applet display

We have an HP Proliant DL360 G8 server, with iLO4 installed. I normally uses Firefox to access the iLO web interfacefrom an Ubuntu server. The Ubuntu server hopped through 2 subnets to get to the iLO interface.

ubuntu$ xhost +
ssh -X
ssh -X
firefox -no-remote

Then https://… to logon to the iLO interface. However, when trying to run Remote Console using Java Applet, the normal Ice tea applet window is not showing anything, and there’re no remote window popping up. Is that because of export DISPLAY does not apply to JAVA applets? Is there something I can do to fix this?
enter image description here

How to display element to another element position – css

I want to use CSS to show the element A at the spot of the element B, how to do this?
Thank you all,

datetime – View based on months or days – display certain items during specified times of the year

I am trying to create a calendar-type view that will display links to specific nodes during certain months of the year. For example, this would show ‘Taxes’ in Feb and April, ‘Travel’ from May to September, etc.

So far I have added a boolean field to my node to appear in the view, but I am stuck on how to implement the date selector. Theoretically I would like to have people select the months that this node should appear in the view, and the view will contextually display the nodes depending on the current month.

The problems I’m running into are:

  • The date field seems to require a year, but I want this to be year agnostic
  • The date field doesn’t allow selection of multiple months

I am thinking that I will have to use a date field so that I can use contextual filters to display based on month of the year. I don’t have access to the codebase so I need to do all of this within the UI using modules, if possible.

Any tips on how I can achieve this?

display – After connecting 3rd external monitor typing lag starts, Macbook Pro 2016

Have macbook pro 2016 and connected 3rd external monitor. Then all monitors including macbook screen have typing lag. But let me clear about there is no mouse lag OR when I move the application window like chrome or jet brains IDE like pycharm no window movement lag.

But when I start typing in IDE or browser’s search bar. I can see clearly that there is typing lag. And about the monitors and cables. I have a LG Ultrawide 5K and Apple Display 27inch (apple display connected VIA mini display port to thunderbolt by apple official tool)

I am not very sure why macbook pro 2016 having such a problem on? One of the cable is LG’s original and the other one is apple’s thunderbolt changer. By the way as grafic card Pro has Radeon Pro 460

Any idea what is causing this problem and how to solve this?

How to efficiently implement a 7-segment display?

I want to construct a 7 segment display (as shown below). When you input a number, the script will read the input number and light up the respective segment
(change the spriterenderer color to red) to display the number.

But I think the code has become too long, since there is 0-9 digit to display, I need 10 if statements, 8 scripts and the function of each statement is to light up the respective segment so it displays the number correctly.

Is there any better way to make the code shorter?

using UnityEngine;

public class ClockController :  MonoBehaviour
    Rect1 rect1;
    Rect2 rect2;
    Rect3 rect3;
    public GameObject othergameobjectrect2;
    public GameObject othergameobjectrect3;

    void Start()
        int x = 1;
        if (x == 1)
            rect1 = GetComponent<Rect1>();
            rect2 = othergameobjectrect2.GetComponent<Rect2>();

            rect3 = othergameobjectrect3.GetComponent<Rect3>();

using UnityEngine;

public class Rect3 : MonoBehaviour
    public void Rectangle3()
        GetComponent<SpriteRenderer>().color =;
using UnityEngine;

public class Rect2 : MonoBehaviour
    public void Rectangle2()
         GetComponent<SpriteRenderer>().color =; 
using UnityEngine;

public class Rect1 : MonoBehaviour
    public void Rectangle1()
        GetComponent<SpriteRenderer>().color =;    

enter image description here

Toolset Types display custom term field

In Toolset Types I created a custom term field named “cp” with a color picker.

I’m trying to use the color in a title but I can’t make it work. I searched the DB and found the field as “wpcf-cp” so I tried to use it but it didn’t help.

Here’s my loop:

    $args = array(
        'post_type' => 'post'

    $post_query = new WP_Query($args);

    if($post_query->have_posts() ) {
        while($post_query->have_posts() ) {
            <div class="catalogue_item">
                <h2 style="color:<?php types_render_termmeta( "wpcf-cp", array() ); ?>"><?php the_title(); ?></h2>
                <a href="<?php echo get_permalink(); ?>">lien vers la fiche</a>
                    <?php foreach ( ( get_the_category() ) as $category ) {
                        echo $category->cat_name . ' ';
                <?php the_excerpt(); ?>
                <?php the_content(); ?>

If you can tell me what’s wrong it would help me greatly.

Thank you for reading

lua – Display letters above the player head in roblox studio

could someone help me please, i am not sure what i am doing bad..

I would like to make it possible to see the letters of the “textlabel” in the player’s head when he is the first to join the team called “RedTeam” and that has the color “Really red”

I would like to see the letters of the “textlabel” on the head, the first player to join the team called “RedTeam” and that has the color “Really red”, how could I do it?


local Players = game:GetService("Players")
local Teams = game:GetService("Teams")

            script.BillboardGui.Frame.Visible = true
            print(player.Name .. " joined the game!")
            local groupId = "Captain"
            local guiClone = script.BillboardGui:Clone()
            guiClone.Parent = character.Head

            local textlabel = guiClone.Frame.TextLabel
            local groupRank = player:GetRoleInGroup(groupId)
            textlabel.Text = groupRank