All Questions
16 questions with no upvoted or accepted answers
2
votes
1
answer
28
views
Can't get custom posts of taxonomy to show
I have a custom post type called 'brand', with a taxonomy of 'brand-categories'. try as I might, I cannot find a way to display a list of posts in the current taxonomy. can anyone help?
<?php
...
1
vote
0
answers
515
views
Fetch Children of Grouped Products Inside WooCommerce Product Loop
I am overriding the WooCommerce archive-product.php in a child theme so I can list single products and grouped products. The loop outputs each product as a single item which is what I want for Simple ...
1
vote
1
answer
111
views
Insert content of a post into another
I am writing a little plugin that creates a custom post type.
I created a filter that copies the content of such a post into another one.
Thereby I loop through all the custom posts. For each one I ...
1
vote
0
answers
35
views
Problem with the Loop - want to limit the access to three free articles
What I'm trying to do:
If anyone who is not logged in, reads an article, I will increase a session var by one. Save that article ID via global $post and save the $post->ID to an array. After 3 ...
0
votes
0
answers
30
views
Page with redirect
I have an issue with indexing my website, where I get "Page with redirect" error on GSC or " Redirect loop", also on Yandex ( Yandex says The rel="canonical" attribute in ...
0
votes
1
answer
3k
views
Can't add new plugin or themes on a wordpress multisite network from the primary site as administrator. Error: ERR_TOO_MANY_REDIRECTS
I can't add new plugins or themes on a wordpress multisite network from the primary site as super administrator. It shows this error: ERR_TOO_MANY_REDIRECTS. However, I am able to access all pages, ...
0
votes
1
answer
369
views
Accessing download link from the loop with WP Download Manager Pro
I'm new to Wordpress, so apologies if this is a silly question.
I am using the WP Download Manager Pro plugin to upload PDF's to wpdmpro post types. A user has to enter an email address in order to ...
0
votes
0
answers
57
views
Create post loop that displays pages by cat ID
I've figured a way to assign categories to a PAGE, in which I want to create a loop for a page template, so if the user has viewed that page, it displays all the PAGES within that category.
Here's my ...
0
votes
1
answer
74
views
Place content inside the Post Loop
Has anyone had any luck manipulating the Post Loop to insert content between post data? I'm looking to post content in between my posts as they are displayed on the archive, and homepage templates.
...
0
votes
2
answers
945
views
divide custom field values in div every two values
i have this html mark-up to sort some data
<div class="row">
<div class="col-xs-2">
<img src="images/member-schools/ms1.jpg" class="img-responsive">
</div>
<div class="...
0
votes
1
answer
42
views
Cannot reset a loop in a plugin template
I am trying to override a query in a loop which exists in other plugin. I created an extension to override that loop using a hook that exists in the plugin.
The plugin query:
query_posts ($args);
/*
...
0
votes
0
answers
293
views
Displaying image from a repeatable group
I am having trouble displaying my image in a repeatable group. I am able to display all fields except the image.
Here is the code to display a repeatable group
$meta_boxes['project_metaboxpress'] =...
0
votes
0
answers
187
views
Multiselect value in wp_query
i have been trying to display the post that contain specific tag.
what i am trying is: if user search for post related to tagss for example: if user selects the tag Don after submition the query ...
0
votes
0
answers
6k
views
Get gallery and product gallery images full size
I'm trying to get all gallery images in a while loop of posts (for example a blog page). With the code I'm using right now, I only get the small thumbnail images (150px : 150px). Also I want to get ...
0
votes
1
answer
329
views
Fake Single Wordpress Post (Page) Loop
In a plugin, I am building a custom page with
add_action('template_redirect', function(){
include(TEMPLATEPATH."/page.php");
exit();
});
add_filter('the_title', function(){ return "Virtual ...
0
votes
1
answer
238
views
How can I save a setting field with multiple checkbox options generated by a foreach loop on a custom wordpress admin page?
function ld_reports_plus_register_submenu_page(){
add_submenu_page(
'ld-reports-plus',
'LearnDash Reports Plus Settings',
'Report Settings',
'manage_options',
...