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.
-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
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 …
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
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 …
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 …
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();
…
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
0
answers
78
views
set a custom post type to a taxonomy term programmatically in metabox
I have a Custom Post Type called Movies and it has a Custom Taxonomy called Genres. I also have 3 Terms under Genres called ['Action','Comedy','Horror']
Can you please let me know how I can Get and S …
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 …
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
75
views
Issue on Getting WP Gallery Items In cpt-single.php As Attachments
Having a "Custom Post Type" called Projects I am trying to get actual URL of images added into Post Gallery and list them in class other than WordPress built in .gallery.
This is the code which I usin …
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
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 …
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
68
views
Issue On Displaying Pages with Post Name Permalink
I have a simple Theme like below
Right now when I navigate to localhost and site root directory I am able to see content from header.php , footer.php and page.php.
then, I simply generated some pa …