1
vote
1answer
15 views

Filtering The Loop For Single Page and Blog Page

I want to start a div when loop starts in a single page ( also in the blog page ). And end that div when loop ends. Obviously using any filter hook or action hook. Thanks In Advance
0
votes
1answer
14 views

Do not show all post from all categories, just show posts from category in current loop

I have following loop that show all children categories of a parent category(id = 3) The first loop i want to show every child category in a parent div (destination-tours) The second loop i want to ...
0
votes
0answers
13 views

how can i edit this code to show extenal image as thumbnail

I wanted to place a thumbnail near my latest post showing on my homepage. After much research I come across a code that can show any post's first image as thumbnail, that's cool right? Well the code ...
0
votes
2answers
14 views

Include Sticky Posts in Page Post Count for custom query

This link solves the problem but it's only for the main query. What if you are using a custom query? How can you modify the answer below: add_action('pre_get_posts', 'ad_custom_query'); function ...
0
votes
1answer
23 views

Check if a user already voted

I'm writing a Wordpress poll system. I need to check if a user already voted, show him/her a message. But i dont know exactly how can i do that! One of my solutions is that to creating a table (named ...
0
votes
0answers
12 views

Wordpress redirection problem

I need to redirect my page to my api service while paypal-payment-redirect page is called.The bellow code redirects as I expected.But it's not passing the Authorization token in header. Is there any ...
-2
votes
0answers
12 views

Hide post from google result when i type my url [migrated]

write now i'm in confusion & urgently needs a help. My website content is continuously copied by a new website. Sorry but i can't mention my site & the other site. I searched in google, how to ...
0
votes
0answers
16 views

404 error on all pages but homepage

I have a local install of wordpress home page is accessible at http://localhost/activlist Backend is accessible at http://localhost/activlist/wp-admin etc No other front end urls are accessible, ...
0
votes
2answers
8 views

Adding a menu item to the main menu

Does anyone know how to ad an item to the menu on the right side of the page. Please see the photo attached. I basically want to add "ISSUES" as a menu item on the left side of page. Just like ARTIST ...
0
votes
1answer
18 views

Query Posts by Custom Field

I'm looking to query my posts via a custom field that I've created on my page. But the custom field is an array of values. So the custom field 'country' could look like this country => ...
0
votes
0answers
8 views

Populating a Gravity Form Field based on the output of a Select box

I am developing a Wordpress site to roll into a phone app. I am using Wordpress, Woocommerce, Gravity Forms and Grvaityviews. While I am using Gravity Forms my question is basically how can I update ...
0
votes
1answer
6 views

How can I get I get the thumbnail custom size dimensions?

Assuming I have a custom thumbnail size, as defined by the following... add_image_size( $name, $dim_x, $dim_y, true ); ...how can I get the defined image dimensions programatically, using only ...
0
votes
0answers
13 views

why is this ajax function not working as expected?

so my class looks like this: class Myclass{ private $nonce; public function __construct(){ if( get_current_screen()->id == 'nav-menus' ){ $this->nonce = ...
0
votes
0answers
11 views

Custom WP_Query doesn't display all posts

I'm building an options page which allows users to choose three posts and three custom images that display on the site's front page. I am using the Settings API to create a custom WP_Query which pulls ...
0
votes
0answers
2 views

Install failure folder exists

Sorry if this question has been asked before and I just didn't see it. I've written a plugin and I'm seeing this error when I try to upload it again e.g. upgrade "Destination folder already exists. ...
0
votes
0answers
2 views

How to exclude categories as well as their respective thumbnails from custom prev-next navigation?

I added the following to my functions.php file: function wyrta_post_nav() { global $post; $exclude_cats = "8"; // Don't print empty markup if there's nowhere to navigate. ...
0
votes
0answers
7 views

Custom Loop and Infinite Scroll

I am using customized version of _s theme where I have Product CPT. In the following files, I need to use Infinite scroll (provided by Jetpack) - archive-products.php taxonomy-[tax-name].php ...
0
votes
0answers
5 views

Adding description to wordpress blog post through wp-admin panel

Is there a way to add a description to my Wordpress blog post through wp-admin panel?
0
votes
1answer
4 views

How to add wpmode in Flash Embed Code in WordPress Site?

I am very new to WordPress, and I want to Embed Flash in my website. I tried some plugin but it does not work. I consulted with some developers, and they said, I need to put, wpmode=direct as param in ...
0
votes
0answers
7 views

Adding a jQuery rotator function

I wanted to test and use the bellow function from @kaiser for a jQuery rotator, but I received an error. Can anyone tell me what is wrong? I have followed all instructions of the author. The ...
0
votes
1answer
12 views

how to use first post image as thumbnail on wordpress

how can i set my thumbnail to use the first image on my post? most time i use bbcode( [img] ) to place images on my post, i want them to be use as well, have tried so many suggestion, but none meet ...
-1
votes
0answers
8 views

Maximum upload file size not reflecting to php.ini

My problem is that when I check to wp-admin/media-new.php I see Maximum upload file size: 8 MB. Now I change the php.ini located at /usr/lib/php.ini I change the upload_max_filesize to 64M and ...
0
votes
1answer
22 views

Ajax contact form returnig 0

I have read through a lot of responses on this site and am unable to find the issue with my code. The form is : <?php while (have_posts()) : the_post()?> <form method='post' ...
0
votes
2answers
17 views

make get_post work in the loop

I'm getting a post by id with get_post(); $post = get_post(17); $page = get_post_meta(17); setup_postdata( $post ); include($page['_wp_page_template'][0]); After getting the post I include a ...
0
votes
2answers
14 views

How do I get my page “About” to show up on my Wordpress site?

I am currently using the Minnow theme on Wordpress. I have set my site to show latest posts from my blog, but I have also create a page called 'About'. This page doesn't show up on my site or in the ...
0
votes
1answer
17 views

Add end mark at the end of every article

I'd like to insert an end mark like &#128282; 🔚 to every article I post. So I added it in entry-content.php like below. <section class="entry-content"> <?php if ( ...
0
votes
1answer
14 views

Display random text from a file with the WP built-in AJAX API

I want to use a solution by @toscho to display and rotate some quotes. The unchanged code works very well, but if I replace the protected function get_rand() { return rand( 1, 1000 ); } with ...
0
votes
1answer
25 views

How to use the conditional homepage tag

I'm trying to display a video in the header of the homepage only but struggling to figure out the correct code. This is the code for the video tag, which seems to be working fine if ( is_home() ) { ...
0
votes
1answer
19 views

Show comon custom field results?

There is custom field "color" in posts with set of hex color codes (all in one custom field, separated with one space). Examples of custom field values for 5 posts: "000000 f0f0f0 c0c0c0 202020 ...
0
votes
1answer
21 views

Search one custom field?

In posts there is in custom field named "color". I have custom search page template, and I would like to show search results only from that one custom field. How to limit search to look just in one ...
0
votes
0answers
9 views

Gravity Form custom validation and Conditional display section

After reading the documentation, i'm not sure how to achieve what I want : Create a form with 3 steps (with ajax enabled) step 1 : email step 2 : firstname lastname step 3 : enter a code. The ...
0
votes
0answers
28 views

Get specific post connections

So I'm using post2post plugin to create connections between posts. On my functions.php I try to get specific post connections but I don't get the connections and I'm not sure why. Any help? So far my ...
-2
votes
0answers
12 views

Wordpress based booking theme or plugin?

I am looking for opinions of fellow Wordpress developers, in terms of a new project I am undertaking for a client. My client wishes to use a wordpress/woocommerce based theme that will allow them to ...
-1
votes
1answer
21 views

Setup WooCommerce to properly handle inventory with variable product?

I am setting up a store that has sells 2 part products (we sell motorcycle mounts and cradles for your gadget) we have 20 different products and 20 different accessories that can be combined with ...
0
votes
0answers
11 views

Permalinks 404 error with HTTPS host

My new permalinks continue displaying a 404 error on my site even after adding the AllowOverride and Rewrite modules parameters. Here is my default-ssl.conf file : <IfModule mod_ssl.c> ...
0
votes
1answer
26 views

Query custom post type with tags

I created a custom post type named portfolio, and am trying to create a query to get similar posts from the portfolio post type based on if it has at least 1 similar tag. For some reason this code ...
0
votes
0answers
9 views

Search and replace post URL's on page output?

Currently, I'm using pretty permalinks for SEO purposes like this: http://example.com/sample-post. This is great for search engine ranking, but now I am finding this is not so great for mobile app ...
-2
votes
0answers
16 views

Display posts in a loop for bootstrap framework

How to show posts in a loops for bootstrap Here is the code I used <div class="row"> <?php if(have_posts()):while(have_posts()):the_post();?> ?> <div class="col-md-6"> ...
0
votes
1answer
31 views

Why is this $wpdb query looping 5 times?

I want to only return one value for this query, it's in my functions.php file. The idea is to return a value that I need once post_meta has been updated. It's returning the same (correct) value 5 ...
0
votes
0answers
8 views

Add notice to checkout page if product from category [on hold]

I would like to add a notice to the checkout page, before the checkout form, when there is a product from the category "sello" and print or show: Para los purificadores Sello de Oro, favor de ...
0
votes
0answers
13 views

Are immediately-called actions not usable in themes?

If there is a filter or action called immediately in a plugin file (not on 'init' or 'wp' action etc.), is it at all possible for a theme to filter it? Looking through wp-setting.php I would assume ...
0
votes
2answers
25 views

Dynamically create shortcodes using add_shortcode and a callback

In the example below, $shortcodes is a multidimensional array with shortcode data. foreach( $shortcodes as $shortcode ) { // Here we have the shortcode name, could be 'custom_person_john'. ...
0
votes
0answers
22 views

File Away plugin problems [on hold]

Plugin: File Away Problem: Rename function modifies more files then it should when accessed: I've asked this on the plugin's support page, but haven't heard back from the developer after two ...
0
votes
0answers
18 views

Posts won't show up on custom page template

I have a custom page template in my file blog.php. I'm incorporating this into _s theme (my theme's name is urn). I want to display all the blog posts on this type of page but none of the posts are ...
0
votes
1answer
10 views

I would like to add ssl certificate to my already existing wordpress site

I have site named as www.splessons.com and it has 500 articles and now i would like to add ssl certificate to it. My doubt is does this effect to my old articles. Doubts: 1) Does it effects to my ...
0
votes
1answer
14 views

WooCommerce - Checkout suddenly stops working

From one day to the next apparently the checkout, specifically selecting a payment option stopped working. I can't figure out why, but when selecting an option, the page keeps jQuery reloading. this ...
0
votes
0answers
5 views

Send emails in batches on an event

I'm trying to send a couple hundred emails to my registered users (from Subscribe2) when a new post is created. However, I'm on Godaddy and my script times out at 2 minutes and never finishes sending ...
0
votes
1answer
10 views

ACF Image Alt Text [on hold]

I am coding various elements into a Wordpress theme, and I want to be able to add custom alt tags for an image based on which page it loads on. For example: I have the website/company logo at the ...
-3
votes
0answers
11 views

What's Skylar Reed 10/22/14 in Arabic? [on hold]

Needing this for a tattoo so if some can please help asap that would be very grateful.
0
votes
3answers
22 views

Is there a way to change the default page template selection?

Click on "Pages" -> Click on "Add New" In the add new page screen. The default page template selected is "Default Template". Is there a way to change the default option to, let's say "My Other ...

15 30 50 per page