Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Themes create the public (front-end) interface for a WordPress site.
0
votes
1
answer
164
views
LOST in WP Template Hireachy
I am trying to create a Custom Theme which is supposed to list and dialysis Custom Post Types First Base on Taxonomy and In next page List and Display Them based on Taxonomy Term which linked from the …
0
votes
1
answer
2k
views
Issue on Getting Custom post type Thumbnail's URL
I need to get the URL for Custom post type Thumbnail and assign it to
the_post_thumbnail('', array('class' => 'group1 img-responsive',
'href' =>get_permalink($thumbnail- …
0
votes
1
answer
417
views
Having Issue on Getting Metabox Checkbox Value
I have a Custom Post Type with two Metabox attached as:
$offerPrice = isset( $productValuesl['offer_box'] ) ? esc_attr( $productValuesl['offer_box'][0] ) : '';
$offer = isset( $productValuesl['is …
0
votes
0
answers
81
views
setting a custom post type taxonomy term by code
I have a set of radio buttons on my metabox which looks like
<div class="panel-body">
<label class="radios">
<input type="radio" name="r3" value="15"> No</label>
<label class="radios">
<i …
0
votes
1
answer
118
views
How to Enable Ascending or Descending In WordPress Default Built-in Loop
Can someone please let me know how we can add Order functionality to WordPress Built-in Loop?
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
// Post Content here …
1
vote
1
answer
2k
views
Location of theme options page menu icon
Hi this may look a little silly question but can someone let me know where is the location for theme_path? is it inside my own theme or very top level of the directory?
'menu_icon' => theme_path . …
1
vote
2
answers
4k
views
Can I Set Up Session in WordPress Custom Page
I am trying to set up a login system and Contact form for Fornt End Users of my Custom WP Theme. I need to create some Ajax Post method and Send the input values to server like Captcha and User Inputs …
0
votes
0
answers
110
views
Landing in 404 Page on Navigating to Custom Taxonomy Archive
Can you please take a look at this post and let me know how I can navigate to Taxonomy URL properly? Having a CPT called movie and a Taxonomy called genre how I can navigate into archive of taxonomy.p …
0
votes
0
answers
162
views
Issue on Counting CPT's Under Taxonomy Term
I am using this code to count number of Custom Post Type
$tax_terms = get_terms($tax, $args);
foreach ($tax_terms as $tax_term) {
echo '<li>' . '<a href="' . esc_attr(get_term_link($tax_term, $taxon …
0
votes
1
answer
234
views
get_term_link is Ending to single.php
I have a template like this:
page-movie.php
taxonomy-movie.php
taxonomy.php
and I am using the get_term_link() at page-movie.php to list and link from the indexed page into List of all Custom …
1
vote
1
answer
407
views
How to Get Current Custom Post Type Associated Taxonomy Term
I have a single.php file like below
<?php get_header(); ?>
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo '<div">';
the_content();
…
3
votes
2
answers
9k
views
How to Use WordPress Color Picker API in Custom Post Type Metabox
I have a Custom Post Type called "Banner" which has a custom Meta box with two advanced fields "Title" (text Field) and "Color" (color Picker).
Can you please let me know how to use the WP Color Pick …
-1
votes
1
answer
781
views
Issue on Getting Images URL of the Post Gallery
I am trying to get the URL of the attached galley into the post on custom page layout called Gallery Page. I tried to use the code from Codex at This Page (get post gallery images). but I am not getti …
0
votes
1
answer
392
views
WP Still Generating 150x150 Thumbnail Size Even After Un-Setting Small Size in Functions.php
I am using following code to prevent WordPress from creating some un required image sizes for my theme and only upload the original size
add_filter( 'intermediate_image_sizes_advanced', 'prefix_remove …
0
votes
0
answers
21
views
Not Able to Add New Class To CPT Attachment Image
Testing against WordPress 6.0 and using Codex, get_image_tag_class filter to remove all existing default classes and add new class img-fluid is not working
Here is the code that I am using in functi …