Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now
Passionable Logo
Sign InSign Up

Passionable

Passionable Navigation

  • Home
  • Blog
  • About Us
  • Blog
  • Contact Us
Search
Ask Here

Mobile menu

Close
Ask a Question
  • Home
  • Ask Here
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • Blog
  • About Us
  • Blog
  • Contact Us
What's your question?
  • Recent Questions
  • Questions For You
  • Most Answered
  • Random
Asked: September 27, 2020

How Much Milk Does A Baby Wyvern Need?

  • 0
  • 184
Asked: September 27, 2020

How Fudforum Uses Cookies?

  • 0
  • 170
Asked: September 27, 2020

How To Change Nickname In Discord?

  • 0
  • 197
Asked: November 20, 2020

Creating custom posts in WordPress (Custom post types)

  • 1
  • 107
  1. Best Answer
    Veda Warren
    Added an answer on November 26, 2020 at 7:09 am

    We are going to create a custom post type example for a real estate. We will install the latest version of wordpress and then we will see if the template we have supports thumbnail images, also known as thumbnails. Many times as developers we need to create personalized content or some functionalityRead more

    We are going to create a custom post type example for a real estate. We will install the latest version of wordpress and then we will see if the template we have supports thumbnail images, also known as thumbnails.

    Many times as developers we need to create personalized content or some functionality in an organized way and register our own values ​​and fields that WordPress does not have by default, it is also important that it be reusable, I look for the functions.php file in the template directory, here for example within the Twenty ten template.

    post_personalizados_wordpress.jpg

    Inside the file we look for if the function exists add_theme_support (‘post-thumbnails’) which is the one that allows the use of thumbnail images, if it is not, I will add it and I will also add a variable for a specific size.

    post_personalizados_wordpress_2.jpg

    In this case the template already has support for thumbnail images so I just add my custom size. This means that when I assign property-thumb to an image it will automatically be sized at 80 pixels wide by 80 pixels high. We started creating the functionality For this it is better to separate the code, you could put it at the end of the functions file, but to work more ordered we will put it in a directory Componentswhere we will create a file called real estate.php, so we have the separate component. _x (‘Real estate’, ‘post type general name’), ‘singular_name’ => _x (‘Real estate’, ‘ post type singular name ‘),’ add_new ‘=> _x (‘ New property ‘,’ property ‘),’ add_new_item ‘=> __ (“New Property”),’ edit_item ‘=> __ (“Edit property”), ‘new_item’ => __ (“New property”), ‘view_item’ => __ (“View property”), ‘search_items’ => __ (“Search property”),’ not_found ‘=> __ (‘ No found properties’), ‘not_found_in_trash’ => __ (‘No properties’),’ parent_item_colon ‘=>’ ‘); // I create the arguments for the database $ inmobiliaria_args = array (‘labels’ => $ inmobiliaria_labels, ‘public’ => true, ‘publicly_queryable’ => true, ‘show_ui’ => true, ‘query_var’ => true , ‘rewrite’ => true, ‘hierarchical’ => false, ‘menu_position’ => null, ‘capability_type’ => ‘post’, ‘supports’ => array (‘title’, ‘excerpt’, ‘editor’, ‘thumbnail’), ‘menu_icon’ => get_bloginfo (‘template_directory’). ‘/images/photo-album.png’ // 16×16 png if you want an icon); // Register the post register_post_type (‘real estate’, $ real estate_args); ?> Then we include it in the functions.php file at the end or in a section for the components, in this case we put it together with the other configurations.

    post_personalizados_wordpress_3.jpg

    We are going to enter our wordpress administrator, in case this active we should update or close session and re-enter to update the changes made in the functions.php file, which is the one who invokes the component. As we can see, a new real estate me, to be able to manage our own data for this custom post component.

    post_personalizados_wordpress_4.jpg

    We will also create some categories or taxonomies so that our application is more complete. For example, the type of property, house, flat, etc. and another for provinces. For this, in the real estate file below we will add the following code, each block is a category and we could create the ones we want. true, ‘label’ => ‘Types of property’, ‘singular_label’ => ‘Type’, ‘rewrite’ => true )); }?> true, ‘label’ => ‘Provinces’, ‘singular_label’ => ‘province’, ‘rewrite’ => true)) ; }?> Then when updating our wordpress administrator we can see both categories in the real estate menu.

    post_personalizados_wordpress_5.jpg

    Listing our own dataThe wordpress entries and page in the administrator always have the same title, author and date data, in this case we need to list the data of the real estate component. For this we are going to customize the columns of the list ‘‘, ‘title’ => ‘Title’, ‘photo’ => ‘Photo’, ‘type’ => ‘Property type’, ‘province’ => ‘Province’, ‘date’ => ‘Date’,); return $ columns; }?> After indicating the titles and type of columns that will be displayed, we proceed to assign the data from queries that we will carry out in the database and assign the data to each column, in this case we search the categories with the function of wordpress get_the_term_list (). ID, ‘type’, ”, ‘,’, ”); break; case ‘province’: echo get_the_term_list ($ post-> ID, ‘province’, ”, ‘,’, ”); break; }} // add thumbnail images to column add_filter (‘manage_posts_columns’, ‘showphoto’, 5); add_filter (‘manage_pages_columns’, ‘showphoto’, 5); add_filter (‘manage_custom_post_columns’, ‘showphoto’, 5); // Add the column function showpicture ($ cols) {$ cols[‘foto’] = __ (‘Thumbnail’); return $ cols; }?> In the case of the image we create a function to find the photo and add it to custom_post_columns if we want we can also add it so that it is supported for posts and pages, apart from our component, otherwise we remove those lines. We save the real estate.php file where we made these changes and updated the wordpress administrator page. We are going to test our application by registering a property, for this we will previously register the Types of properties categories: House, Apartment, Land, etc. Then we will register some provinces Barcelona, ​​Madrid, etc. Then we go to the menu Properties> New property and we register the data as a normal wordpress entry, only that we will have the category and an image or photo to insert as a featured image.

    post_personalizados_wordpress_6.jpg

    Remember that the images will be sized at 80 x 80 pixels for the property list, we had defined this in our custom size real estate-thumb, So the best thing is that we use square images so that they are not cut, the ideal would be 500×500 pixels. Then when we save the changes we can go to view the list of properties and we will see our custom columns, with all the functionalities activated to search filter, sort alphabetically or see only some province, etc.

    post_personalizados_wordpress_7.jpg

    This will be very easy for us to administer and we can also add more functionalities if we need to modify the custom post type or custom post type. Regarding reuse, the component is optimal, since if we want to use it in another project we simply copy the custom post type, include it in our functions.php file and we will have it available to use without having to reprogram it, then with simple code We can show this on the home page or in a section of our website, carry out searches by province or by type of property. We can also extend the component by adding more functionalities or complementing it with other plugins, for example to implement it in several languages ​​with Qtraslator or add multiple images Multiple Featured Images To have more prominent images and create a photo gallery for each property, changing some lines could also be used for a vehicle agency where the categories were vehicle brands and models or for a travel agency where we would have packages and destinations, the possibilities They are infinite, everything depends on the needs and our imagination.

    See less
    • 225
Asked: September 27, 2020

How To Make Money Illegally Fast?

  • 0
  • 148
Asked: September 27, 2020

What is WarriorPlus and how do I make money using it?

  • 0
  • 169
Asked: September 27, 2020

Why is sulfuric acid called oil of vitriol?

  • 0
  • 150
Asked: September 27, 2020

How To Shorten A Link For Twitter?

  • 0
  • 166
Asked: September 27, 2020

In historical documents queen was spelled quene When why did it change?

  • 0
  • 144
Asked: November 29, 2020

How to connect and configure VR glasses to my Xbox One easily?

  • 1
  • 121
  1. Best Answer
    Monika Jackson
    Added an answer on October 26, 2020 at 12:16 pm

    The Xbox One is one of the best consoles ever to hit the marketSince it has some great added games and features (like the Xbox Game Pass Ultimate game list), for this reason today you will be shown one of those additions, answering the question How to configure virtual reality glasses on my Xbox OneRead more

    The Xbox One is one of the best consoles ever to hit the marketSince it has some great added games and features (like the Xbox Game Pass Ultimate game list), for this reason today you will be shown one of those additions, answering the question How to configure virtual reality glasses on my Xbox One ?

    And it is that, although this console already has time in stores, very few know how to use its main functions (especially since the PS4 gained him in popularity), and that is why a guide like this is imperative, which helps the allies of the green team.

    How to configure the virtual reality glasses to my Xbox One?

    Now, going straight to the point and so that you can start as soon as possible, the first thing to know about how to configure the virtual reality glasses to my Xbox One, is that there are really no official glasses for this console.

    Unfortunately Xbox did not try to output its own lenses (as if the PS4 did), so to be able to use glasses on this console, you have to resort to virtual glasses from another brand and third-party programs to stream the image.

    With that clear, it is time to start. The first thing you have to do to be able to configure and connect your glasses is to go to the official Kinovr.Kinoni.com website. Once inside it, look for the green “Download” button, and proceed to download the corresponding version of this app for your operating system.

    xbox one controller close up

    When you have done it, go to your mobile and download the app of the same name inside it, then go back to your PC and run the application that you downloaded. By doing so you will be able to enter it, inside go to the “VR Settings” window found on the top ribbon.

    In this section, you will see a box at the end that allows you to activate image duplication, check it. Then open the app on your mobile, it will automatically connect to that of the PC and will allow you to see what is on the screen.

    Finally, open your Xbox application on the PC and connect it to the console (by clicking on the “Transmit” button on the menu), finally put the mobile in the glasses and that’s it.

    Use the Óculus as Xbox One glasses

    With the above, you already know how to configure the virtual reality glasses to my Xbox One, so you must have noticed that the method mentioned was to use the famous Google cardboard glasses, which are attached to the mobile.

    In the event that this is not enough for you, then as an extra you will also learn to use Oculus glasses, so that so you have two virtual reality options on your favorite Microsoft console.

    To achieve this, go to your Xbox One first, there go into “Settings” from the main menu, then “Preferences”, and in this section click on “Allow streaming of games to other devices”.

    xbox logo green black

    Next, connect your Xbox controller to the PC, then go to the Oculus Store in the browser, and within it, search and install the Xbox One streaming app. Then start the app on the PC, that will make it start looking for a console to connect, choose yours when it comes out.

    When the union is confirmed, the streaming will immediately begin, and you will be able to use your virtual reality glasses. And ready, with that you already know how to configure the virtual reality glasses to my Xbox One, so you have nothing else to do here.

    However, before you leave, remember that this technology is so new that several guides are needed to understand it, so it is worth looking for what is the difference between augmented and virtual reality?

    .

    See less
    • 343
Asked: November 29, 2020

How do I know how many Facebook sessions I have open, and from which devices?

  • 1
  • 138
  1. Best Answer
    Suzanna Thornton
    Added an answer on October 26, 2020 at 12:16 pm

    Facebook is one of the most used social networks worldwide, which contains information from countless users. The latter makes it a double-edged sword that can put the safety of netizens at risk. That's why it's important strictly control income to our accounts for prevent them from falling into theRead more

    Facebook is one of the most used social networks worldwide, which contains information from countless users. The latter makes it a double-edged sword that can put the safety of netizens at risk.

    That’s why it’s important strictly control income to our accounts for prevent them from falling into the wrong hands. Today we will teach you how to find out how many Facebook sessions you have open and from what devices.

    Steps to know the number of Facebook sessions you have open

    If you are using a computer

    1. After logging in from the web you must click on the arrow located in the upper right corner, right next to the notification bell. A menu with several options will be displayed and you must select settings and privacy. Later, another group of options will appear, press the configuration option.
    2. The general settings of your Facebook account will be displayed on the screen. In the bar located on the left side you must find and click on the option security and login.
    3. In this section you will be able to see all the devices through which you have entered the social network. You even have access to the IP address, location, date and time of connection. In addition, it lets you know what kind of devices they are and which ones have an active session at that moment.

      facebook app

    4. Devices are organized by chronological order, being at the top those who recently connected. You can also see if the entry was through a browser or application.

    Through the application on a phone or tablet

    1. After entering your account from the app you must press the menu box, which has three horizontal stripes and is in the upper right corner.
    2. Once the menu is open you must go down and look for the settings and privacy option. Another group of options will be displayed, you must click on settings.
    3. Look for the option «follow
    4. rity and login »in the security section.
    5. In this section you will see the latest devices that have been logged in. If you press the option see all, all sessions will be broken down indicating date, time, place and device.
    6. It is also important to keep the application up-to-date to keep up with security improvements.

    What to do if I detect an unknown or suspicious device?

    If you are not familiar with some of the devices connected to your account, you can quickly close those sessions. To do this, you must search for the device in question and click on a button located just to the right.

    A box will appear that says Not you? and just below the exit option which you must press. This process is similar in the app and on the website.

    security lock

    Those open sessions may be related to other apps from your phone or tablet. This is because the account can be used to log into other apps or websites. However, if you are not sure of the origin, it is advisable to close the Facebook session.

    How to prevent this from happening again?

    Below we will list other options that the security and login section offers to strengthen the security of your account:

    1. The section configure additional security allows you to modify your account so that it will notify you every time a strange device connects. You just have to enable the option receive notifications. This will allow you to act in case an intruder tries to enter your account.
    2. You can determine which devices and browsers are enabled to save your login information.
    3. Two-step authentication makes the use of a security code mandatory to log in. The latter is sent either by mail or text message to the person who manages the account. In addition, you can determine which devices are frequently used, and therefore do not need the verification code.
    4. If you consider that an unwanted person has your login details, you can change the password. By doing this, make sure that the new key is more complex and different from the one you use on other websites.

    .

    See less
    • 228
Asked: November 29, 2020

What is the importance of organizing the reference budget in a project?

  • 1
  • 115
  1. Best Answer
    Chelsey Martin
    Added an answer on October 26, 2020 at 12:16 pm

    The budget is a financial tool which consists of planning the expenses of a project or activity. This estimate is made taking into account a certain period of time. The main purpose of the budget is to influence the decision processes of the company or person carrying out the project. It can be saidRead more

    The budget is a financial tool which consists of planning the expenses of a project or activity. This estimate is made taking into account a certain period of time. The main purpose of the budget is to influence the decision processes of the company or person carrying out the project.

    It can be said that it is a work plan expressed from a quantitative point of view. It is impossible to determine the stages or steps of work if we do not know the cost of each of them.

    Plan expenses requires a certain degree of creativity and financial knowledge for the project to be carried out successfully. A responsible and intelligent allocation of resources must be made to each of the plans and processes. The budget must be set up in such a way that the investment made favors the fulfillment of the goal set. What should I consider when creating a budget?

    • Personal or company monthly income. In order to know how much to invest, you have to know the capital you have. The analysis of assets and liabilities provides an overview of the degree of financial action and the chances of success.
    • The fixed and variable expenses involved in the execution of the project. You must take into account salaries, travel expenses and service payments.
    • Possible contingencies. A good budget is one that takes into account any unexpected expenses or situations. The correct planning allows to face these eventualities without affecting the direction of the project.budget wallet
    • How many resources do you hope to earn. Knowing your expectations is key to determining how broad your budget should be.
    • Define cash flow, which is the difference between personal or business income and expenses.
    • Set clear and achievable goals. The more feasible or achievable a project is, the greater the budget’s chance of success.

    What is the budget to achieve?

    1. Get General information, both the project and the financial activity of the person or company that promotes it. In this way, you can determine how prepared you are to face potential expenses and financial challenges ahead.
    2. Plan what activities will be carried out and what resources will be invested in its implementation. In addition, be clear about the purpose of each of them in order to avoid unnecessary investments.
    3. Get the different areas of the company involved in the execution of the project. Each agency provides relevant information that helps estimate likely costs, earnings, and risks. budget calculation
    4. Assign an objective to each area or department of the company and continuously evaluate its fulfillment.
    5. Propose a period of time in which each of the activities will be executed.
    6. Check each of the key activities of the company to prevent them from straying from the main objective.
    7. Predict future financial statements.

    What are the benefits of budgeting?

    • Provide a comprehensive vision of the operations and probable results allowing to take opportune and correct decisions.
    • It facilitates the performance of periodic evaluations of the performance of the administration and financial team.
    • It allows assigning functions and responsibilities to each of the individuals and departments involved in the execution of the project.
    • It helps to identify in advance the lack of funds in order to facilitate the loan application at the right time.
    • It is the tool that allows you to translate the company’s plans into concrete actions by put the money in motion.
    • It facilitates the increase of the cost-benefit ratio by analyzing in depth each expense in which it is intended to incur.
    • It offers a study of the different investment options and helps to choose expenses more intelligently.
    • Provides a financial image of the company or project giving it greater seriousness and reliability.
    • Let the financial information is accessible to all users or departments involved in the project. For example, union organizations can find out what the money is being invested in and what the expectations are. In this way, greater trust is created within the work group and joint work is promoted.
    • It provides potential investors with a detailed picture of the project, generating confidence and projecting an image of probable success.

    .

    See less
    • 420

Sidebar

Recent Posts

  • The 6 best wireless speakers to have anywhere in the house
  • New launches in electronics and technology available on Amazon
  • The best charging stations you should have at home for your devices
  • The best smart light options to illuminate your home in a personalized way
  • 6 great gift ideas for any tech lover

Footer

  • Home
  • Blog
  • About Us
  • Blog
  • Contact Us

About Us

  • Meet The Team
  • Blog
  • About Us
  • Contact Us

Help

  • Knowledge Base
  • Support

Legal

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Passionable is a social question & Answers Engine that will help you establish your community and connect with other people.
© 2020 Passionable. All Rights Reserved. With Love by Passionable.org.