Questions tagged [page-specific-settings]
The page-specific-settings tag has no usage guidance.
32
questions
0
votes
0
answers
14
views
How can I remove the navigation menu from a Page that is not on the menu?
I have an astra template site that I setup on Wordpress and edit with elementor.
One of the new pages I added from NextGen Gallery is not being edited with elementor. It is the only page I don't use ...
0
votes
0
answers
8
views
Is it possible to have a global parameter page which allows to configure other plugins in the same place?
I have a wordpress mu installation which brings together several different sites for clients and I would like to provide them with a settings page to manage the settings of other plugins.
In short, I ...
0
votes
1
answer
88
views
Sort by price wpdb
I have a page on my wordpress to search for tires everything works fine but I would have liked to know how to add an extra column to sort them also by price.
They can already be sorted by size and ...
1
vote
2
answers
37
views
How to display specific category on single post page?
How can I display only the specific category when accessing the posts related to that category? For example, I want to show only CSR Events under Categories When accessing posts related to CSR events. ...
0
votes
0
answers
24
views
Encoding matter - ? instead of € after settings field callback
In my plugin I have som classes to manage settings field.
For some reason in one moment the setting field value with special characters like 30€ in textarea or input[type=text] change to be 30?.
I got ...
-1
votes
1
answer
45
views
Page-parent field not appearing in editor [closed]
The drop-down of page parents doesn't appear in some sites as of upgrading to WordPress 5.0.+
0
votes
1
answer
25
views
Assign post category to a page by selecting category from page dashboard
I'd like users to be able to assign a category to a page by selecting from the page dashboard. So when they create a new page they can select the post category they want to be linked and display on ...
1
vote
1
answer
14
views
editor account in wordpress for content
Is that possible we can give client editor account for the user in admin dashboard without all the functionality? In which client can only change content not moreover that.
I appreciate it if someone ...
4
votes
1
answer
1k
views
Custom user role that can only edit specific (non-custom-type) page and all child pages [duplicate]
My site has several static pages and several custom post types. I'm trying to create a custom user role called students and give students access to ONLY certain custom post types and certain specific ...
0
votes
3
answers
52
views
Detecting if I'm on a single, non-post, non-homepage page?
I'm trying to see if I am on a single page, this page is defined by:
Is not the homepage for sure.
Doesn't have any posts for sure.
Here's my code:
<?php if ( !is_home() && !have_posts() ...
0
votes
0
answers
9
views
Setting admin submenu appears only when I cliked on a custom link
I'm doing a plugin. In this plugin I have to add a submenu for Settings.
Code :
public function __construct(){
add_action( 'admin_menu', array( $this, 'add_setting_page' ) );
}
public ...
0
votes
1
answer
1k
views
Make a single page in WordPress available only for Admin and Subscribers
I'm trying to make a single page only available for administrator and subscribers from the site. I've put the page as private in WordPress admin and tried to allow that only for these two roles using ...
2
votes
2
answers
7k
views
How to add specific menu on a specific page or pages
I'm looking for help on how to add specific menu on a specific page or pages with no plugin.
I know how to add and register a new menu like this:
//* Register third navigation menu position
function ...
0
votes
2
answers
32
views
How can I switch pages?
I have website for local restaurant and for menu there are separate pages (ex: salads, soups etc). Right now the second restaurant was opened and it has a separate menu.
What I want to do is to ...
2
votes
2
answers
653
views
Hide the Private prefix on one specific page
Trying to conditionally hide the "private" prefix in front of the page title on one specific page named 'members' only.
I used this code in functions.php to hide the prefix on all pages.
function ...
0
votes
1
answer
31
views
How to use Specific URLs for some posts
I'm using the below format for permalinks in my blog:
example.com/post-name
Now I need to host a giveaway on the same blog and want to make a permalink structure like this:
example.com/giveaways/...
0
votes
1
answer
743
views
How can you wrap add_filter with a if is_home() statement?
I have the follow code:
if ( !function_exists( 'df_excerpt_more' ) ) {
function df_excerpt_more( $more ) {
return ' … <a class="more-link" href="' . esc_url( get_permalink( ...
9
votes
4
answers
42k
views
How to load JS and CSS only on specific Pages using is_page()?
I am building my first WP plugin, it should load some JS and CSS files only on specific pages selected through a form available in the plugin Admin area. Once selected in the form, Page Title gets ...
0
votes
1
answer
537
views
Load specific js & css based on class or ID?
I noticed that there are many tutorials on how to load specific JS & CSS for a specific page.
The problem I have is that sometimes my plug-ins load on specific posts and specific pages. I cannot ...
4
votes
3
answers
9k
views
How many Wordpress SQL Queries per page?
I am on a shared hosting which has a limitation at MySQL queries per hour. My shows unable to connect to database because of this.
Can anyone tell me how many queries are per page on a wordpress site ...
1
vote
2
answers
6k
views
Missing parent page attribute
Suddenly the parent page attribute is missing on the page edit view. I'm using Wordpress 3.9.1 and the newest Avada theme. The parent attribute has worked. Now it is not shown as page attribute. I've ...
0
votes
0
answers
127
views
How to exclude page in pages module
Site has page with url
http://example.com/mywpsite/mypage
Pinboard theme is used.
Pages module shows this in left sidebar.
How to remove it from this?
Pages module setting contain field
excluded ...
-1
votes
2
answers
7k
views
Woocommerce product page is not showing custom css [closed]
I am using woocommerce plugin for wordpress to make an eCommerce website. It is working fine with little bit customization. As I have configured shop page as the default product page so that in that ...
1
vote
1
answer
4k
views
how to call a function only in specific pages and exclude it from other pages
I have the below functions
require_once(GABFIRE_FUNCTIONS_PATH. '/review-options.php');
require_once(GABFIRE_FUNCTIONS_PATH . '/custom.php');
require_once(GABFIRE_FUNCTIONS_PATH . '/shortcodes.php');
...
2
votes
2
answers
2k
views
Can I create a page template, use it once, then hide/remove the option to use it again?
I am working on a WP theme/project that includes several custom page templates that will only be used once each. For example, there is a page with a map and search form for finding things on the map. ...
2
votes
1
answer
106
views
Add page title as a javacript variable to specific posts
I'm very new to WordPress and I'm sorry if this question may sound ridiculous.
I need a way to add the post title into it's content, only in specific posts, and not always at the same place in the ...
0
votes
1
answer
318
views
How do I choose not to display the title header on a specific page?
I would like to have one specific page on my WordPress blog omit the header .
Is there a way to wrap that title code from page.php in my WordPress theme in an if clause that specifies the page I do ...
0
votes
2
answers
202
views
Suggestions for allowing basic users to view their own posts?
I have a client that needs to give access to her clients certain documents. She wants the ability to give them user name and password, so once they log in, they go directly to their page or post which ...
0
votes
3
answers
186
views
list child-pages as normal pages?
wp_list_pages('title_li=&depth=&exclude=');
lists all pages of my site. If there are childpages of a certain page the output looks like this:
<li class="page_item page-item-2">
&...
2
votes
2
answers
3k
views
Loading Scripts on Specific Pages
In child theme I created a functions.php file that loads scripts and style files, the code is below.
The section that loads libraries and scripts to all pages other than admin, in other words the ...
1
vote
4
answers
227
views
Finding the page id
I'm not sure if I'm blind here, but short of digging directly into the database tables, where would I find the database id for a post or a page?
6
votes
7
answers
19k
views
Is there a way to force ssl on certain pages
I want to force a secure connection on some of my pages (ones with forms), but I don't want the whole site to work with ssl (slows it down)
Is there a way to configure specific pages to require ssl?