0
votes
0answers
4 views

how can I query from any catagory?

How can I display posts query from any catagory? for example, I want to show post two column layout. first layout will be show one post with big thumbnail and title. second layout will be show four ...
0
votes
0answers
6 views

Adding a sidebar to wp-login.php

so I'm running a membership site and want the login page to promote the value of signing up. I can't figure out how to get a sidebar to display on this page. Everything I've tried breaks wp-login.php. ...
0
votes
0answers
8 views

Why do i get the media files that I had detached from the posts(but still present in the media library)?

wp_get_attachment_url() is the method used to fetch the attachments. Currently I am passing the attachment IDs fetched by $attachments = get_children( array('post_parent' => get_the_ID(), '...
0
votes
0answers
6 views

Contact Form 7 + Contact Form 7 Datepicker + Custom validation - No custom error message [on hold]

I have created a form with CF7 and I inserted two date fields (with the CF7 datepicker plugin). The two fields are [date* date-641 date-format:mm/dd/yy], [date* date-820 date-format:mm/dd/yy]. The ...
0
votes
1answer
11 views

How do you add custom color swatches to all WYSIWYG editors?

I would like to be able add the same custom colours to the swatches at bottom of colour picker panels that appear in the WYSIWYG editors across the site, to make it easier for clients to keep ...
0
votes
0answers
7 views

How can I add an “Attach image to this post/page” link on the Add Media lightbox?

How can I add an "Attach image to this post/page" link on the Add Media lightbox? My theme uses attached images to generate sliders. I want to be able to attach images from Media Library to the ...
0
votes
0answers
5 views

Multiple fields search for posts (like a filter)

I want to build a themes for both a property listing website and a car listing website, each will have custom posts types and taxonomies, my question is how would I handle the search functionality ...
0
votes
0answers
4 views

Remove query var on admin pages when 'Save changes' pressed

In the admin backend we use a query arg that is left in the URL and keeps getting used whether it is supposed to or not. Our plugin has an array with values that can be toggled via the custom backend ...
-4
votes
0answers
10 views

Hosted Wordpress on wordpress.com -> How to change the Logo Link to a custom domain? [on hold]

The question says it all -> How can i change the link from the logo to a custom domain?
-1
votes
0answers
9 views

The custom validate function not working

I follow the following tutorial to add custom field to my registration form:- https://nicolamustone.com/2016/04/19/adding-custom-fields-vendor-registration-form/ And it is worked perfectly. When I ...
-1
votes
0answers
10 views

What are the best practices for Switching current theme to a new theme for Wordpress Site?

Have a highly customized theme for my Wordpress site here - http://www.indusladies.com/ where the customization includes template files, custom pages and style sheets. Now am looking to switch from ...
0
votes
0answers
11 views

Replace Uploaded Document if exists already

How to rename uploaded document if already exists with same name by adding numeric suffix. I want to override existing files (pdf,doc,image) if already exist with same name. Please tell me ...
0
votes
0answers
14 views

Creating custom ordering for taxonomy with custom post types

I have a challenging specification for taxonomy archive post listing: archive contains two post types (posts and CPT) and those should be ordered by distributing types with a ratio. For example: - 1 ...
1
vote
1answer
27 views

Restricting user login by IP address

I have a website that is login required in order for users to view the website. I have set up one user for all internal members to use to view the website, however i want to limit just that user to ...
0
votes
1answer
11 views

Localization of WP theme

I am working on WP theme localization. On custom search template I have function which gets text of some search terms and replace them with other (just visually). function search_replace_search() { $...
0
votes
1answer
22 views

after checked the checkbox in backend, dont show social link on frontend

I want to do something like if I checked/unchecked a checkbox in admin then all social links in the page footer on fronted hide/show. function add_custom_meta_box() {add_meta_box("demo-meta-box", "...
0
votes
1answer
31 views

Wordpress Count posts within a custom post type

How to WordPress count post within this code. <?php query_posts('showposts=6'); ?> <?php $posts = get_posts('numberposts=6&offset=0'); foreach ($posts as $post) : start_wp(); ?> <?...
0
votes
1answer
16 views

if username or password is incorrect wp-login returns a blank page

If username or password is incorrect, wp-login returns the blank page with no header, body or footer. Console shows there are no errors. I have removed my login page building plugin and removed ...
0
votes
0answers
14 views

how to make a featured post carousel?

I am trying to make a featured post carousel which would display all the posts which were marked as featured at the backend. I have put the wp post loop inside the Bootstrap Carousel and then try to ...
0
votes
1answer
26 views

Can I make a 1920 x 1080 page size? [on hold]

I'm new to this (like today 7-27-15 new) so I'm not sure what I'm asking... but can I make a website design based on a 1920 x 1080 page size. Does it depend on the theme I pick? Are there setting I ...
0
votes
0answers
17 views

sanitize_text_field not catching this XSS example?

I'm sanitizing user-input textarea (retaining line breaks) using the clever answer found here - essentially using the function sanitize_text_field. I've been testing using some examples from the ...
0
votes
1answer
22 views

Submit button inside foreach loop updates all table rows instead of one row [on hold]

I created this simple function to update a row inside a table called wp_todos function update_completed_todos($id,$complete) { global $wpdb; $table_name = $wpdb->prefix . 'todos'; $...
0
votes
0answers
16 views

Is it possible to add js/css file using only wordpress admin account?

I have to edit a page that needs a js and a css file, but I only have access as admin. Is it possible to add those files using only that admin account and if so how would I link those. Thanks.
0
votes
1answer
11 views

When deleting a theme, are the theme customizer settings also deleted from the database?

So if I deleted a theme, then changed my mind later and decided to install the same theme again, would the customizer settings I had configured be deleted, or would they be saved so I still have them ...
0
votes
0answers
7 views

How to export .ics feed with my events made by Custom Post Type

I made custom post types to make event pages for my local orienteering club (cascadeoc.org), and I'd like to also post a link to subscribe to an .ics feed, generated of course, from the custom post ...
-1
votes
0answers
10 views

Google Maps InfoWindow and Chat Plugin Wise Chat [on hold]

In my Wordpress Page, I embed a Google Map. An InfoWindow is opened when a user clicks on The Marker. I have customized the InfoWindow to display do_shortcode( '[wise-chat]'), which is a shortcode ...
-3
votes
0answers
14 views

Center embeded spotify playlist/iframe [on hold]

I've embeded a spotify playlist from the Wordpress Dashboard and it's floated to the left side of the page. How do I center it?
0
votes
1answer
14 views

Convert responsive <ul> menu to <select> for small screens sans JS

I'm trying to build a responsive header for my WordPress theme on my site. Depending on the screen resolution, I'd like to go from a typical WordPress unordered list menu (larger screens), to a custom ...
-2
votes
0answers
10 views

GravityForm email address layout

Case: When a user submits a (Gravity)form and the email is received. Under the address section there is a Map It link, which links to the google maps to the specified address. Question: How to show ...
0
votes
0answers
5 views

Importing phpBB to bbPress, but the import never starts

I'm trying to migrate a phpBB3 forum to bbPress. When I run the migration locally on my dev environment it works fine (although it takes for friggin' ever). But when I run it on the staging servers ...
0
votes
0answers
9 views

Custom post submit form

I have a photo blogging website, and I want to create a custom form for posting posts. I got stuck on the part where I can upload and set a future image at the same time. With the standard WordPress ...
0
votes
1answer
23 views

get_permalink to an anchor

Well, it's probably a dumb question but I don't know how to add an anchor to a permalink. I'm just trying to add a button in my posts list which leads directly to the comment section of the post. ...
0
votes
1answer
10 views

Search and replace http:// links to https:// to get the green padlock

I've got a WordPress CMS and I have a few http URLs that aren't being converted to https. I've installed the SSL Insecure Content Fixer plugin but that didn't do anything. I also have the code below ...
-1
votes
0answers
7 views

How to create posts inside another posts like below link?

This is my blog posts http://dailyviraltimes.com/dvt/the-original-american-pie-cast-then-now/ I want this post to work like this http://theviraldance.com/american-pie-movie-sales-famous-actors_safez/ ...
0
votes
1answer
16 views

How to get all pages on specific blog after switch_to_blog?

I am attempting to loop through all sites on my multisite network blog. However, when I attempt to use get_pages it ignores the fact that the blog has switched via switch_to_blog. $sites = ...
1
vote
2answers
21 views

Settings API - input always updates over validation

I am following a Wordpress book and am trying to create a plugin and have got an option page showing. In this page I have two text fields (which values are stored in one array). I am trying to add ...
-3
votes
0answers
21 views

Shortcode used once, function executed twice?

I created a shortcode in functions.php and in the logs I can see it is executed twice everytime I reload the page. The shortcode is only used once on the page. What are the typical mechanisms that ...
-1
votes
0answers
11 views

AJAX() post - how to avoid page getting blank when remote page refreshes

I am displaying content of the other website which refreshes periodically (refresh time is around 20 minutes). During refresh time, my original page gets blank. I would like to keep the content of the ...
0
votes
1answer
10 views

New Custom Widget Call a Different Widget Function

My theme includes a widget for showing tweets. I want to take this widget and create my own version of it. I have successfully created a new widget listing in the admin but the widget functions from ...
0
votes
0answers
12 views

500 Error on updating an old post

I have a multisite WordPress instance where one single site has an issue where if you go to update a post that is already published and hit save it responds with a 500 server error. Another symptom ...
-1
votes
0answers
11 views

How to modify woocommerce rating [on hold]

I remove default tabs and create new tabs in function.php where on item is review sections. But I can't dynamic reviwer section where consist name, email, review and rating. How can I dynamic or ...
1
vote
1answer
16 views

call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members

I am trying to create a theme option page in my plugin. I have pasted below the entire code. But it is giving an error : call_user_func_array() expects parameter 1 to be a valid callback, array must ...
0
votes
1answer
54 views

Calling PHP function doesn't work in index.php

I have a function I wrote in my functions.php page for a gallery to display on certain pages. It displays on custom templates, but now I need it to display on index.php Here is the code from my ...
-3
votes
0answers
17 views

How do I fix a get_header error?

Im getting the below error, can anyone suggest a fix for me? Fatal error: Call to undefined function get_header() in /home/shamelesss/public_html/shamelessstudiosllc.com/index.php on line 14 below ...
1
vote
0answers
20 views

Help ordering Post loop by two meta values

Background: I have a custom post type "events" which has a post meta value of a unix timestamp called event start date. I also have a post meta value of ticket_status that has 3 possible values (S=...
0
votes
1answer
20 views

Clarity needed on usage of multiple 403 forbidden header() functions at the beginning of the plugin files

Just see the following code snippet. I have came across this in one of the plugins that I am reading now. if ( ! defined( 'ABSPATH' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 ...
1
vote
1answer
20 views

What template files do I need to customise custom-category-term-links rather than fall back on archive.php?

in my theme (built from scratch), i addad custom post types and custom taxonomies. To my template structure i added: page-customname.php archive-customname.php category-customname.php tag-customname....
-3
votes
0answers
6 views

Secondary Menu (storefront theme) not working after removing Search Bar

I wanted to delete, hide or something my search bar I found this question and the solution achieved taking out the search bar. add_action ('init', 'jk_remove_storefront_header_search'); function ...
-1
votes
0answers
14 views

How to get Element by tag ID in html javascript [on hold]

I want To search in a website by getting Element Id and SetAttribute value in it but I think that website does not let us to get this element code: HtmlDocument doc = webBrowser1.Document; ...
0
votes
1answer
21 views

redirect 301 with special character like WIX site “#!”

i want migrate a WIX website to wordpress and i want preserve the SEO score without broken the url of every post-page. but the structure of WIX url is composed by special character like "#!" , now how ...

15 30 50 per page